コード例 #1
0
ファイル: ShellRoute.cs プロジェクト: hungvv6574/CMSSolutions
        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();
        }
コード例 #2
0
 public UrlPrefixAdjustedHttpContext(HttpContextBase httpContextBase, UrlPrefix prefix)
     : base(httpContextBase)
 {
     this.prefix = prefix;
 }
コード例 #3
0
 public AdjustedRequest(HttpRequestBase httpRequestBase, UrlPrefix urlPrefix)
     : base(httpRequestBase)
 {
     this.urlPrefix = urlPrefix;
 }