public BaseContext(IApplicationModeLoader modeLoader, string serverName) { if (modeLoader == null) throw new ArgumentNullException("modeLoader", "modeLoader is null."); _appMode = modeLoader.Load(this); _serverName = serverName; }
public BaseContext(IApplicationModeLoader modeLoader, string serverName) { if (modeLoader == null) { throw new ArgumentNullException("modeLoader", "modeLoader is null."); } _appMode = modeLoader.Load(this); _serverName = serverName; }
/// <summary> /// Initializes a new instance of the AppContext class. /// </summary> public AppContext(IApplicationModeLoader loader) : base(loader, String.Empty) { }
/// <summary> /// Initializes a new instance of the AppContext class. /// </summary> public AppContext(IApplicationModeLoader loader) : base(loader, String.Empty) { }
/// <summary> /// Initializes a new instance of the WebContext class. /// </summary> public WebContext(IApplicationModeLoader modeLoader, string hostName) : base(modeLoader, hostName) { }
/// <summary> /// Initializes a new instance of the WebContext class. /// </summary> public WebContext(IApplicationModeLoader modeLoader, string hostName) : base(modeLoader, hostName) { }