![]() |
Dynamic Assembly Loading
I'm trying to extend my CMS with a plugin interface to make extensibility a little easier to manage. I created 2 classes: an abstract base class (baseModule) containing a single abstract method Init() and a class that inherits from it (TestModule) and throws an exception when Init is called. In my Engine, I'm doing the following:
Code:
if (!module_dir.Exists) throw new Exception("Modules directory does not exist.");"No parameterless constructor defined for this object." Any ideas what I'm doing wrong? |
Re: Dynamic Assembly Loading
Quote:
Code:
private void LoadAssembly() |
| All times are GMT +5.5. The time now is 04:35. |