load all in current dir
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user