Exemplo n.º 1
0
 public BaseContext(IApplicationModeLoader modeLoader, string serverName)
 {
     if (modeLoader == null)
         throw new ArgumentNullException("modeLoader", "modeLoader is null.");
     
     _appMode = modeLoader.Load(this);
     _serverName = serverName;
 }
Exemplo n.º 2
0
        public BaseContext(IApplicationModeLoader modeLoader, string serverName)
        {
            if (modeLoader == null)
            {
                throw new ArgumentNullException("modeLoader", "modeLoader is null.");
            }

            _appMode    = modeLoader.Load(this);
            _serverName = serverName;
        }
Exemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the AppContext class.
 /// </summary>
 public AppContext(IApplicationModeLoader loader)
     : base(loader, String.Empty)
 {
 }
Exemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the AppContext class.
 /// </summary>
 public AppContext(IApplicationModeLoader loader)
     : base(loader, String.Empty)
 {
 }
Exemplo n.º 5
0
 /// <summary>
 /// Initializes a new instance of the WebContext class.
 /// </summary>
 public WebContext(IApplicationModeLoader modeLoader, string hostName)
     : base(modeLoader, hostName)
 {
 }
Exemplo n.º 6
0
 /// <summary>
 /// Initializes a new instance of the WebContext class.
 /// </summary>
 public WebContext(IApplicationModeLoader modeLoader, string hostName)
     : base(modeLoader, hostName)
 {
     
 }