Hi I was thinking about such case:
public class MyService {
private IList<Entity> data;
public virtual IList<Entity> GetData()
{
return data;
}
public virtual IList<Entity> GetDataAdvanced()
{
return GetData();
}
}
Consider a situation when i have a proxy of this class (e.g logging interceptor). The problem is: with GetData() method will GetDataAdvanced() use: the proxied one or normal? After a test i looks like it is not using proxy. I was wondering if it is possible to change such behavior ?
Thanks for help.
Kuba