예제 #1
0
 public MaterialsController(
     MaterialsAuthorization materialsAuthorization,
     ICategoriesCache categoriesCache,
     IMaterialsManager materialsManager,
     IMaterialsPresenter materialsPresenter,
     IMaterialsVisitsCounterCache materialsVisitsCounterCache,
     IServiceProvider serviceProvider) : base(serviceProvider)
 {
     this.materialsAuthorization      = materialsAuthorization;
     this.categoriesCache             = categoriesCache;
     this.materialsManager            = materialsManager;
     this.materialsPresenter          = materialsPresenter;
     this.materialsVisitsCounterCache = materialsVisitsCounterCache;
 }
예제 #2
0
 public CleanCacheJobsService(
     IDataBaseFactory dbFactory,
     SpamProtectionCache spamProtectionCache,
     IOptionsMonitor <SchedulerOptions> schedulerOptions,
     IMaterialsVisitsCounterCache materialsVisitsCounterCache,
     IProfilesVisitsCounterService profilesVisitsCounterService,
     JweBlackListService jweBlackListService)
 {
     this.dbFactory                    = dbFactory;
     this.spamProtectionCache          = spamProtectionCache;
     this.jweBlackListService          = jweBlackListService;
     this.materialsVisitsCounterCache  = materialsVisitsCounterCache;
     this.profilesVisitsCounterService = profilesVisitsCounterService;
     this.schedulerOptions             = schedulerOptions;
 }
예제 #3
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;
 }