Exemplo n.º 1
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);
 }
Exemplo n.º 2
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);
        }
Exemplo n.º 3
0
 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);
 }