public ShellRoute(RouteBase route, ShellSettings shellSettings, IWorkContextAccessor workContextAccessor, IRunningShellTable runningShellTable, Func <IDictionary <string, object>, Task> pipeline) { _route = route; _shellSettings = shellSettings; _runningShellTable = runningShellTable; _pipeline = pipeline; _workContextAccessor = workContextAccessor; if (!string.IsNullOrEmpty(_shellSettings.RequestUrlPrefix)) { _urlPrefix = new UrlPrefix(_shellSettings.RequestUrlPrefix); } Area = route.GetAreaName(); }
public UrlPrefixAdjustedHttpContext(HttpContextBase httpContextBase, UrlPrefix prefix) : base(httpContextBase) { _prefix = prefix; }
public AdjustedRequest(HttpRequestBase httpRequestBase, UrlPrefix prefix) : base(httpRequestBase) { _prefix = prefix; }