In my bootstrapper I have the following code to create my Directory ModuleCatalog
protected override IModuleCatalog CreateModuleCatalog()
{
DirectoryModuleCatalog catalog = new DirectoryModuleCatalog();
catalog.ModulePath = @".\Modules";
return catalog;
}
but all my modules seem to be loading when the shell gets created. How can I load them on demand while still using the DirectoryModuleCatalog?