public virtual void Configure (object appHostConfig, object webAppConfig, IApplicationServer server, IListenerTransport listenerTransport, Type appHostTransportType, object transportConfig) { WebAppConfig appConfig = webAppConfig as WebAppConfig; if (appConfig != null) { vport = appConfig.VPort; vhost = appConfig.VHost; vpath = appConfig.VPath; path = appConfig.RealPath; } appServer = server; this.listenerTransport = listenerTransport; appHostTransport = (IApplicationHostTransport) Activator.CreateInstance (appHostTransportType); appHostTransport.Configure (this, transportConfig); }
public virtual void Configure(object appHostConfig, object webAppConfig, IApplicationServer server, IListenerTransport listenerTransport, Type appHostTransportType, object transportConfig) { WebAppConfig appConfig = webAppConfig as WebAppConfig; if (appConfig != null) { vport = appConfig.VPort; vhost = appConfig.VHost; vpath = appConfig.VPath; path = appConfig.RealPath; } appServer = server; this.listenerTransport = listenerTransport; appHostTransport = (IApplicationHostTransport)Activator.CreateInstance(appHostTransportType); appHostTransport.Configure(this, transportConfig); }
public virtual void Configure(object appHostConfig, object webAppConfig, IApplicationServer server, IListenerTransport listenerTransport, Type appHostTransportType, object transportConfig) { WebAppConfig appConfig = webAppConfig as WebAppConfig; if (appConfig != null) { vport = appConfig.VPort; vhost = appConfig.VHost; vpath = appConfig.VPath; path = appConfig.RealPath; } appServer = server; physicalRoot = server.PhysicalRoot; this.listenerTransport = listenerTransport; appHostTransport = (IApplicationHostTransport)Activator.CreateInstance(appHostTransportType); appHostTransport.Configure(this, transportConfig); Logger.Write(LogLevel.Debug, "Configured host in domain {0}, id={1}", AppDomain.CurrentDomain.FriendlyName, AppDomain.CurrentDomain.Id); }
public virtual void Configure (object appHostConfig, object webAppConfig, IApplicationServer server, IListenerTransport listenerTransport, Type appHostTransportType, object transportConfig) { WebAppConfig appConfig = webAppConfig as WebAppConfig; if (appConfig != null) { vport = appConfig.VPort; vhost = appConfig.VHost; vpath = appConfig.VPath; path = appConfig.RealPath; } appServer = server; physicalRoot = server.PhysicalRoot; this.listenerTransport = listenerTransport; appHostTransport = (IApplicationHostTransport) Activator.CreateInstance (appHostTransportType); appHostTransport.Configure (this, transportConfig); Logger.Write (LogLevel.Debug, "Configured host in domain {0}, id={1}", AppDomain.CurrentDomain.FriendlyName, AppDomain.CurrentDomain.Id); }