P
paccala
Ciao
Being google-ing since hours and still I'm not able to
solve my problem...
I have following hierarchy:
class A
{
public void myMethod();
}
class B
{
private A mAInstance = new A();
}
from within class C, I would like to invoke the method
myMethod() in the mAInstance instance contained in class B.
I am able to get the FieldInfo of mAInstance, but it does not
work as object instance when passed to MethodInfo.Invoke...
Thanks in advance, any hint would really be appreciated
mauro
Being google-ing since hours and still I'm not able to
solve my problem...
I have following hierarchy:
class A
{
public void myMethod();
}
class B
{
private A mAInstance = new A();
}
from within class C, I would like to invoke the method
myMethod() in the mAInstance instance contained in class B.
I am able to get the FieldInfo of mAInstance, but it does not
work as object instance when passed to MethodInfo.Invoke...
Thanks in advance, any hint would really be appreciated
mauro