#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); }
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); }
internal void Recycle() { requestContext = null; request = null; extensions = null; instanceContext = null; SetClientReply(null, false); }