public ComponentsAdminController(
     IComponentsAdminPresenter componentsAdminPresenter,
     IComponentsAdminManager componentsAdminManager,
     IComponentsCache componentsCache,
     IServiceProvider serviceProvider) : base(serviceProvider: serviceProvider)
 {
     this.componentsAdminPresenter = componentsAdminPresenter;
     this.componentsAdminManager   = componentsAdminManager;
     this.componentsCache          = componentsCache;
 }
Exemple #2
0
 public ActivitiesController(
     OperationKeysContainer operationKeysContainer,
     ICategoriesCache categoriesCache,
     IAuthorizationService authorizationService,
     IActivitiesPresenter activitiesPresenter,
     IComponentsCache componentsCache,
     IServiceProvider serviceProvider) : base(serviceProvider)
 {
     OperationKeys             = operationKeysContainer;
     this.categoriesCache      = categoriesCache;
     this.authorizationService = authorizationService;
     this.activitiesPresenter  = activitiesPresenter;
     this.componentsCache      = componentsCache;
 }
        public BlogController(
            IOptionsMonitor <BlogOptions> blogOptions,
            IAuthorizationService authorizationService,
            ICategoriesCache categoriesCache,
            OperationKeysContainer operationKeysContainer,
            IBlogPresenter blogPresenter,
            IComponentsCache componentsCache,
            IServiceProvider serviceProvider) : base(serviceProvider)
        {
            OperationKeys = operationKeysContainer;

            this.blogOptions          = blogOptions;
            this.authorizationService = authorizationService;
            this.categoriesCache      = categoriesCache;
            this.blogPresenter        = blogPresenter;
            this.componentsCache      = componentsCache;
        }
Exemple #4
0
 public CacheAdminController(
     IComponentsCache componentsCache,
     ICategoriesCache categoriesCache,
     IMenuCache menuCache,
     SpamProtectionCache spamProtectionCache,
     IMailTemplatesCache mailTemplatesCache,
     IConfigurationRoot configurationRoot,
     IDynamicConfigCache dynamicConfigCache,
     IServiceProvider serviceProvider) : base(serviceProvider)
 {
     this.componentsCache     = componentsCache;
     this.categoriesCache     = categoriesCache;
     this.menuCache           = menuCache;
     this.spamProtectionCache = spamProtectionCache;
     this.mailTemplatesCache  = mailTemplatesCache;
     this.configurationRoot   = configurationRoot;
     this.dynamicConfigCache  = dynamicConfigCache;
 }
 public ComponentsController(
     IComponentsCache componentsCache,
     IServiceProvider serviceProvider) : base(serviceProvider)
 {
     this.componentsCache = componentsCache;
 }