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