public CategoriesAdminManager(
     DataBaseConnection db,
     IOptions <MaterialsOptions> materialOptions,
     ICategoriesCache categoriesCache,
     SanitizerService sanitizerService) : base(db)
 {
     this.sanitizerService = sanitizerService;
     this.categoriesCache  = categoriesCache;
     this.materialOptions  = materialOptions.Value;
 }
 public CategoriesAdminController(
     CategoriesAdminManager categoriesAdminManager,
     ICategoriesAdminPresenter categoriesAdminPresenter,
     ICategoriesCache categoriesCache,
     IServiceProvider serviceProvider) : base(serviceProvider)
 {
     this.categoriesCache          = categoriesCache;
     this.categoriesAdminManager   = categoriesAdminManager;
     this.categoriesAdminPresenter = categoriesAdminPresenter;
 }
        public CategoriesPresenter(IRolesCache rolesCache,
                                   ICategoriesCache categoriesCache,
                                   IAuthorizationService authorizationService,
                                   OperationKeysContainer operationKeysContainer)
        {
            OperationKeys = operationKeysContainer;

            this.authorizationService = authorizationService;
            this.categoriesCache      = categoriesCache;
            this.rolesCache           = rolesCache;
        }
 public MaterialsController(
     MaterialsAuthorization materialsAuthorization,
     ICategoriesCache categoriesCache,
     IMaterialsManager materialsManager,
     IMaterialsPresenter materialsPresenter,
     IServiceProvider serviceProvider) : base(serviceProvider)
 {
     this.materialsAuthorization = materialsAuthorization;
     this.categoriesCache        = categoriesCache;
     this.materialsManager       = materialsManager;
     this.materialsPresenter     = materialsPresenter;
 }
 public ActivitiesController(
     OperationKeysContainer operationKeysContainer,
     ICategoriesCache categoriesCache,
     IAuthorizationService authorizationService,
     IActivitiesPresenter activitiesPresenter,
     IServiceProvider serviceProvider) : base(serviceProvider)
 {
     OperationKeys             = operationKeysContainer;
     this.categoriesCache      = categoriesCache;
     this.authorizationService = authorizationService;
     this.activitiesPresenter  = activitiesPresenter;
 }
Beispiel #6
0
 public MaterialsManager(
     DataBaseConnection db,
     Sanitizer sanitizer,
     ICategoriesCache categoriesCache,
     ITagsManager tagsManager,
     IOptions <MaterialsOptions> materialsOptions) : base(db)
 {
     this.tagsManager      = tagsManager;
     this.sanitizer        = sanitizer;
     this.materialsOptions = materialsOptions.Value;
     this.categoriesCache  = categoriesCache;
 }
Beispiel #7
0
 public MaterialsManager(
     DataBaseConnection db,
     SanitizerService sanitizerService,
     ICategoriesCache categoriesCache,
     ITagsManager tagsManager,
     IOptionsMonitor <MaterialsOptions> materialsOptions) : base(db)
 {
     this.tagsManager      = tagsManager;
     this.sanitizerService = sanitizerService;
     this.materialsOptions = materialsOptions;
     this.categoriesCache  = categoriesCache;
 }
Beispiel #8
0
        public BlogController(IOptions <BlogOptions> blogOptions,
                              IAuthorizationService authorizationService,
                              ICategoriesCache categoriesCache,
                              OperationKeysContainer operationKeysContainer,
                              IBlogPresenter blogPresenter,
                              IServiceProvider serviceProvider) : base(serviceProvider)
        {
            OperationKeys = operationKeysContainer;

            this.blogOptions          = blogOptions.Value;
            this.authorizationService = authorizationService;
            this.categoriesCache      = categoriesCache;
            this.blogPresenter        = blogPresenter;
        }
Beispiel #9
0
        public CategoriesPresenter(
            IRolesCache rolesCache,
            ICategoriesCache categoriesCache,
            IOptionsMonitor <GlobalOptions> globalOptions,
            IAuthorizationService authorizationService,
            OperationKeysContainer operationKeysContainer)
        {
            OperationKeys = operationKeysContainer;

            this.authorizationService = authorizationService;
            this.categoriesCache      = categoriesCache;
            this.rolesCache           = rolesCache;
            this.globalOptions        = globalOptions;
        }
        public ArticlesController(
            IOptions <ArticlesOptions> articlesOptions,
            IAuthorizationService authorizationService,
            ICategoriesCache categoriesCache,
            OperationKeysContainer operationKeysContainer,
            IArticlesPresenter articlesPresenter,
            IServiceProvider serviceProvider) : base(serviceProvider)
        {
            OperationKeys = operationKeysContainer;

            this.articlesOptions      = articlesOptions.Value;
            this.authorizationService = authorizationService;
            this.categoriesCache      = categoriesCache;
            this.articlesPresenter    = articlesPresenter;
        }
Beispiel #11
0
        public ForumController(IOptions <ForumOptions> forumOptions,
                               IAuthorizationService authorizationService,
                               ICategoriesCache categoriesCache,
                               IContentCache contentCache,
                               OperationKeysContainer operationKeysContainer,
                               IForumPresenter forumPresenter,
                               IServiceProvider serviceProvider) : base(serviceProvider)
        {
            OperationKeys = operationKeysContainer;

            this.forumPresenter       = forumPresenter;
            this.forumOptions         = forumOptions.Value;
            this.authorizationService = authorizationService;
            this.categoriesCache      = categoriesCache;
        }
Beispiel #12
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 ArticlesController(
            IOptionsMonitor <ArticlesOptions> articlesOptions,
            IAuthorizationService authorizationService,
            ICategoriesCache categoriesCache,
            OperationKeysContainer operationKeysContainer,
            IArticlesPresenter articlesPresenter,
            IMaterialsManager materialManager,
            MaterialsAuthorization materialsAuthorization,
            IServiceProvider serviceProvider) : base(serviceProvider)
        {
            OperationKeys = operationKeysContainer;

            this.articlesOptions        = articlesOptions;
            this.authorizationService   = authorizationService;
            this.categoriesCache        = categoriesCache;
            this.articlesPresenter      = articlesPresenter;
            this.materialManager        = materialManager;
            this.materialsAuthorization = materialsAuthorization;
        }
 public MaterialsController(
     MaterialsAuthorization materialsAuthorization,
     ICategoriesCache categoriesCache,
     IMaterialsManager materialsManager,
     IMaterialsPresenter materialsPresenter,
     IMaterialsVisitsCounterCache materialsVisitsCounterCache,
     ISectionsCache sectionsCache,
     IServiceProvider serviceProvider,
     OperationKeysContainer operationKeysContainer,
     IAuthorizationService authorizationService) : base(serviceProvider)
 {
     this.materialsAuthorization      = materialsAuthorization;
     this.categoriesCache             = categoriesCache;
     this.materialsManager            = materialsManager;
     this.materialsPresenter          = materialsPresenter;
     this.materialsVisitsCounterCache = materialsVisitsCounterCache;
     this.sectionsCache          = sectionsCache;
     this.serviceProvider        = serviceProvider;
     this.operationKeysContainer = operationKeysContainer;
     this.authorizationService   = authorizationService;
 }
		public CategoriesManager(ICategoriesCache<Category> cache)
		{
			this.cache = cache;
		}
 public SimpleCategoriesManager(ICategoriesCache cache)
 {
     _cache = cache;
 }
        public ProductsManager(ICategoriesCache<Product> cache)
		{
			this.cache = cache;
		}
Beispiel #18
0
 public EntitiesManager(ICategoriesCache cache)
 {
     this.cache = cache;
 }
Beispiel #19
0
 public CategoryContentCache(ICategoriesCache categoriesCache)
 {
     this.categoriesCache = categoriesCache;
 }
        public CustomersManager(ICategoriesCache<Customer> cache)
		{
			this.cache = cache;
		}
 public AuthorizationService(ICategoriesCache categoriesCache)
 {
     this.categoriesCache = categoriesCache;
 }