title: .NET - Getting all implementations of a generic interface?
body: <p>An answer on " <a href="https://stackoverflow.com/questions/80247/implementations-of-interface-through-reflection">Implementations of interface through Reflection</a> " shows how to get all implementations of an interface. However, given a generic interface, <code>IInterface&lt;T&gt;</code>, the following doesn't work:</p>
  
  <pre><code>var types = TypesImplementingInterface(typeof(IInterface&lt;&gt;))
  </code></pre>
  
  <p>Can anyone explain how I can modify that method?</p>