第一次用接口做插件,想照着一般带参数多线程的用法:
IPlugin p = new IPlugin;
p=(IPlugin)Activator.CreateInstance( Assembly.LoadFrom(plugfimename).GetType());
p.parma1=xxx;
p.parma2=xxx;
string result=p.do();
这样可以实现吗?
谢谢!