예제 #1
0
 public TInterfaceType Generate <TInterfaceType>() where TInterfaceType : class
 {
     return(ProxyGenerator.Create(typeof(TInterfaceType), this) as TInterfaceType);
 }
예제 #2
0
 public object Generate(Type interfaceType)
 {
     return(ProxyGenerator.Create(interfaceType, this));
 }