コード例 #1
0
        public AdminController(
            IHtmlLocalizer htmlLocalizer,
            IStringLocalizer stringLocalizer,
            IShellFeatureManager shellFeatureManager,
            IViewProviderManager <FeaturesIndexViewModel> viewProvider,
            IBreadCrumbManager breadCrumbManager,
            IAuthorizationService authorizationService,
            IShellDescriptorManager shellDescriptorManager,
            IPageTitleBuilder pageTitleBuilder,
            IAlerter alerter)
        {
            _shellFeatureManager    = shellFeatureManager;
            _viewProvider           = viewProvider;
            _breadCrumbManager      = breadCrumbManager;
            _authorizationService   = authorizationService;
            _shellDescriptorManager = shellDescriptorManager;
            _pageTitleBuilder       = pageTitleBuilder;
            _alerter = alerter;

            T = htmlLocalizer;
            S = stringLocalizer;
        }
コード例 #2
0
ファイル: AdminController.cs プロジェクト: radtek/Plato
        public AdminController(
            IHtmlLocalizer htmlLocalizer,
            IStringLocalizer stringLocalizer,
            IViewProviderManager <FeaturesIndexViewModel> viewProvider,
            IShellDescriptorManager shellDescriptorManager,
            IAuthorizationService authorizationService,
            ITourDescriptorStore tourDescriptorStore,
            IShellFeatureManager shellFeatureManager,
            IShellSettings shellSettings,
            IPlatoHost platoHost,
            IAlerter alerter)
        {
            _shellDescriptorManager = shellDescriptorManager;
            _authorizationService   = authorizationService;
            _shellFeatureManager    = shellFeatureManager;
            _tourDescriptorStore    = tourDescriptorStore;
            _shellSettings          = shellSettings;
            _viewProvider           = viewProvider;
            _platoHost = platoHost;
            _alerter   = alerter;

            T = htmlLocalizer;
            S = stringLocalizer;
        }