public void tests() { TestIntercept t = new TestIntercept(); var pg = PoxyFactory <MyClass> .GetPoxyInstance(t); pg.MyMethod(); }
public void tests() { var proxyGenerate = new ProxyGenerator(); TestIntercept t = new TestIntercept(); var pg = proxyGenerate.CreateClassProxy <MyClass>(t); pg.MyMethod(); }