示例#1
0
#pragma warning restore CS0067 // The event is never used

        protected ServiceHostBase()
        {
            InternalBaseAddresses = new UriSchemeKeyedCollection(ThisLock);
            ChannelDispatchers    = new ChannelDispatcherCollection(this, ThisLock);
            _extensions           = new ExtensionCollection <ServiceHostBase>(this, ThisLock);
            _instances            = new InstanceContextManager(ThisLock);
        }
示例#2
0
 protected ServiceHostBase()
 {
     this.baseAddresses      = new UriSchemeKeyedCollection(this.ThisLock);
     this.channelDispatchers = new ChannelDispatcherCollection(this, this.ThisLock);
     this.extensions         = new ExtensionCollection <ServiceHostBase>(this, this.ThisLock);
     this.instances          = new InstanceContextManager(this.ThisLock);
 }
示例#3
0
 internal void Recycle()
 {
     requestContext  = null;
     request         = null;
     extensions      = null;
     instanceContext = null;
     SetClientReply(null, false);
 }