title: How to get a module instance in PRISM
body: <p>I have a PRISM desktop app which loads modules from a directory with the help of the DirectoryModuleCatalog.</p>
  
  <p>Everything is fine, except that I cannot find a way to get the instance of a loaded module.
  IModuleManager and IModuleCatalog don't have a method like <em>getInstance(ModuleInfo)</em> or similar.</p>
  
  <p>See</p>
  
  <pre><code>moduleManager.LoadModule(moduleInfo.ModuleName);
  </code></pre>
  
  <p>This line loads the module properly(moduleManager is of type IModuleManager), but what do I have to do next to get the actual instance of this module?</p>
  
  <p>The modules are loaded on demand of the user, so I cannot register all modules at startup within the bootstrapper.</p>