Exemplo n.º 1
0
 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;
 }
Exemplo n.º 3
0
        public CategoriesPresenter(IRolesCache rolesCache,
                                   ICategoriesCache categoriesCache,
                                   IAuthorizationService authorizationService,
                                   OperationKeysContainer operationKeysContainer)
        {
            OperationKeys = operationKeysContainer;

            this.authorizationService = authorizationService;
            this.categoriesCache      = categoriesCache;
            this.rolesCache           = rolesCache;
        }
Exemplo n.º 4
0
 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;
 }
Exemplo n.º 5
0
 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;
 }
Exemplo n.º 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;
 }
Exemplo n.º 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;
 }
Exemplo n.º 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;
        }
Exemplo n.º 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;
        }
Exemplo n.º 10
0
        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;
        }
Exemplo n.º 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;
        }
Exemplo n.º 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;
 }
Exemplo n.º 13
0
        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;
        }
Exemplo n.º 14
0
 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;
		}
Exemplo n.º 16
0
 public SimpleCategoriesManager(ICategoriesCache cache)
 {
     _cache = cache;
 }
        public ProductsManager(ICategoriesCache<Product> cache)
		{
			this.cache = cache;
		}
Exemplo n.º 18
0
 public EntitiesManager(ICategoriesCache cache)
 {
     this.cache = cache;
 }
Exemplo n.º 19
0
 public CategoryContentCache(ICategoriesCache categoriesCache)
 {
     this.categoriesCache = categoriesCache;
 }
        public CustomersManager(ICategoriesCache<Customer> cache)
		{
			this.cache = cache;
		}
Exemplo n.º 21
0
 public AuthorizationService(ICategoriesCache categoriesCache)
 {
     this.categoriesCache = categoriesCache;
 }