Example #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();
        }