Guest User

Untitled

a guest
Jul 19th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. var directoryCatalog = new DirectoryCatalog(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Plugins"));
  2.  
  3. var mefContainer = new CompositionContainer(directoryCatalog);
  4. plugins= mefContainer.GetExportedValues<IPlugin>();
Add Comment
Please, Sign In to add comment