public virtual void Configure (IApplicationHost host, object transportConfig) { this.appHost = host; host.HostUnload += (sender, e) => OnHostUnload ( (IApplicationHost)sender, e.IsShutdown); TransportConfig config = transportConfig as TransportConfig; if (config != null) { mt=config.MultiThreading; } }
public virtual void Configure(IApplicationHost host, object transportConfig) { this.appHost = host; host.HostUnload += (sender, e) => OnHostUnload( (IApplicationHost)sender, e.IsShutdown); TransportConfig config = transportConfig as TransportConfig; if (config != null) { mt = config.MultiThreading; } }