load all in current dir

This commit is contained in:
Tommy Parnell
2014-10-20 16:24:02 -04:00
parent ad20fe7229
commit 605a626364

View File

@@ -6,9 +6,9 @@ namespace NOCQ.Extensability
{
public class Catalog
{
//static DirectoryCatalog dcatalog = new DirectoryCatalog("plugins", "*.dll");
static DirectoryCatalog dcatalog = new DirectoryCatalog(".", "*.dll");
static AssemblyCatalog acatalog = new AssemblyCatalog(Assembly.GetExecutingAssembly());
private static AggregateCatalog Cat = new AggregateCatalog(acatalog);
private static AggregateCatalog Cat = new AggregateCatalog(acatalog,dcatalog);
private static CompositionContainer _container = new CompositionContainer(Cat);
public CompositionContainer Container { get { return _container; } }
public Catalog()