Exemplo n.º 1
0
        public ShellRoute(RouteBase route, ShellSettings shellSettings, IWorkContextAccessor workContextAccessor, IRunningShellTable runningShellTable)
        {
            this.route               = route;
            this.shellSettings       = shellSettings;
            this.runningShellTable   = runningShellTable;
            this.workContextAccessor = workContextAccessor;
            if (!string.IsNullOrEmpty(this.shellSettings.RequestUrlPrefix))
            {
                urlPrefix = new UrlPrefix(this.shellSettings.RequestUrlPrefix);
            }

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