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