public void MyProcess() { // int re = RuleFactory.InvokeMethod<MyInterface, int>(o => o.GetData(10)); MyInterface instance = RuleFactory.CreateInstance <MyInterface>(); var t = instance.GetData(10); }
public void MyProcess() { // int re = RuleFactory.InvokeMethod<MyInterface, int>(o => o.GetData(10)); MyInterface instance = RuleFactory.CreateInstance <MyInterface>(); var t = instance.GetData(10); }