I want to create a dynamic proxy object to add specific functions to the object.
basically I want to get an object, wrap it with an object that looks identical to the original that I received, and intercept all calls.
class Wrapper : DynamicProxy
To clarify, I want to do something similar to the WCF factory channel ...
I add generosity because I need a good way for proxy classes (not interfaces) and for handling non-virtual methods (as if I had inherited and added metond under the keyword “new”). I am sure that all this is very possible, since .Net does this.
AK_ Dec 05 2018-11-12T00: 00Z
source share