Exemplo n.º 1
0
 internal TearOffProxy(ICreateServiceChannel serviceChannelCreator, Type proxiedType) : base(proxiedType)
 {
     if (serviceChannelCreator == null)
     {
         throw Fx.AssertAndThrow("ServiceChannelCreator cannot be null");
     }
     this.serviceChannelCreator     = serviceChannelCreator;
     this.baseTypeToInterfaceMethod = new Dictionary <MethodBase, MethodBase>();
 }
 internal TearOffProxy(ICreateServiceChannel serviceChannelCreator, Type proxiedType) : base(proxiedType)
 {
     if (serviceChannelCreator == null)
     {
         throw Fx.AssertAndThrow("ServiceChannelCreator cannot be null");
     }
     this.serviceChannelCreator = serviceChannelCreator;
     this.baseTypeToInterfaceMethod = new Dictionary<MethodBase, MethodBase>();
 }
Exemplo n.º 3
0
 void IDisposable.Dispose()
 {
     this.serviceChannelCreator = null;
 }
 void IDisposable.Dispose()
 {
     this.serviceChannelCreator = null;
 }