コード例 #1
0
 public AutomaticFeatureMigrations(
     IShellFeatureUpdater shellFeatureUpdater,
     IShellFeatureStore <ShellFeature> shellFeatureStore)
 {
     _shellFeatureUpdater = shellFeatureUpdater;
     _shellFeatureStore   = shellFeatureStore;
 }
コード例 #2
0
ファイル: AdminController.cs プロジェクト: vdandrade/Plato
        public AdminController(
            IHtmlLocalizer htmlLocalizer,
            IStringLocalizer stringLocalizer,
            IViewProviderManager <FeatureUpdatesViewModel> viewProvider,
            IAutomaticFeatureMigrations automaticFeatureMigrations,
            IAuthorizationService authorizationService,
            IShellFeatureUpdater shellFeatureUpdater,
            IBreadCrumbManager breadCrumbManager,
            IAlerter alerter)
        {
            _automaticFeatureMigrations = automaticFeatureMigrations;
            _authorizationService       = authorizationService;
            _breadCrumbManager          = breadCrumbManager;
            _shellFeatureUpdater        = shellFeatureUpdater;
            _viewProvider = viewProvider;
            _alerter      = alerter;

            T = htmlLocalizer;
            S = stringLocalizer;
        }