Simple case:
public class MyClass { public Action<double> MyAction; } public class AnotherClass { public void MyAction(double value) {
As I get both the AnotherClass.MyAction(..) method and the MyClass.MyAction delegate MyClass.MyAction through reflection, I get a couple of MethodInfo / FieldInfo classes where I cannot connect the method to the delegate. Also I get the method / delegate names from the string, I can not access the fields / methods of the instance without reflection. Can someone give me a hand in this, or is such a connection possible?
Teoman soygul
source share