Discussion:
[Bamboo.Prevalence-users] prevalence wont work using reflection ??
joe robe
2005-03-21 21:15:19 UTC
Permalink
Hi,

I realized that using reflection (PropertyInfo,
MethodInfo) on a transparent proxy NO proxy
interception call is made but directly the underlying
objects methods/properties are called.

Since preevalence relies on such an interception , it
obviously would not work. Am I doing something wrong
here ?

Joe Robe

MethodInfo
_MI=MyTransparentProxyObject.GetType().GetMethod("DoSomething",BindingFlags.Instance|BindingFlags.Public);
_MI.Invoke(MyTransparentProxyObject,new
Object[]{"test"});






__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/

Loading...