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); }
#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() { TraceUtility.SetEtwProviderId(); this.baseAddresses = new UriSchemeKeyedCollection(base.ThisLock); this.channelDispatchers = new ChannelDispatcherCollection(this, base.ThisLock); this.extensions = new ExtensionCollection <ServiceHostBase>(this, base.ThisLock); this.instances = new InstanceContextManager(base.ThisLock); this.serviceThrottle = new System.ServiceModel.Dispatcher.ServiceThrottle(this); base.TraceOpenAndClose = true; base.Faulted += new EventHandler(this.OnServiceHostFaulted); }