title: Using reflection to find constructors that have interface parameters
body: <p>I am loading up all assemblies in my app domain and then trying to find those of a certain base type and all also whose constructors have a interface as a constructor argument.  I've got the below code but can't work out how you tell it to find interface parameters.</p>
  
  <pre><code>var assembliesWithPluginBaseInThem = AppDomain.CurrentDomain.GetAssemblies()
      .Where(x=&gt;x.GetTypes().Where(y=&gt;y.BaseType== typeof(PluginBase) &amp;&amp;
       y.GetConstructor(new Type[]{typeof(interface)})
  </code></pre>