title: Detecting a MEF assembly at runtime
body: <p>I have a directory with many .dlls some of which are MEF plugins which I am loading using a <code>DirectoryCatalog</code> - for example:</p>
  
  <pre><code>var catalog = new DirectoryCatalog(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location));
  </code></pre>
  
  <p>This loads into the catalog all assemblies at hosts executing directory. However, I wish to only build a catalog of MEF assemblies (i.e. composable parts).</p>
  
  <p>Is there a way to detect MEF assemblies?</p>