Esempio n. 1
0
        public ShellRoute(RouteBase route, ShellSettings shellSettings, IWebWorkContextAccessor workContextAccessor, IRunningShellTable runningShellTable)
        {
            _route = route;
            _shellSettings = shellSettings;
            _runningShellTable = runningShellTable;
            _workContextAccessor = workContextAccessor;
            if (!string.IsNullOrEmpty(_shellSettings.GetRequestUrlPrefix()))
                _urlPrefix = new UrlPrefix(_shellSettings.GetRequestUrlPrefix());

            Area = route.GetAreaName();
        }
Esempio n. 2
0
        public ShellRoute(RouteBase route, ShellSettings shellSettings, IWebWorkContextAccessor workContextAccessor, IRunningShellTable runningShellTable)
        {
            _route               = route;
            _shellSettings       = shellSettings;
            _runningShellTable   = runningShellTable;
            _workContextAccessor = workContextAccessor;
            if (!string.IsNullOrEmpty(_shellSettings.GetRequestUrlPrefix()))
            {
                _urlPrefix = new UrlPrefix(_shellSettings.GetRequestUrlPrefix());
            }

            Area = route.GetAreaName();
        }
 public AdjustedRequest(HttpRequestBase httpRequestBase, UrlPrefix prefix)
     : base(httpRequestBase)
 {
     _prefix = prefix;
 }
 public UrlPrefixAdjustedHttpContext(HttpContextBase httpContextBase, UrlPrefix prefix)
     : base(httpContextBase)
 {
     _prefix = prefix;
 }
 public AdjustedRequest(HttpRequestBase httpRequestBase, UrlPrefix prefix)
     : base(httpRequestBase)
 {
     _prefix = prefix;
 }
 public UrlPrefixAdjustedHttpContext(HttpContextBase httpContextBase, UrlPrefix prefix)
     : base(httpContextBase)
 {
     _prefix = prefix;
 }