コード例 #1
0
 public MaterialsVisitsCounterCache(
     IDataBaseFactory dbFactory,
     SpamProtectionCache spamProtectionCache)
 {
     this.dbFactory           = dbFactory;
     this.spamProtectionCache = spamProtectionCache;
 }
コード例 #2
0
 public ProfilesVisitsCounterService(
     IDataBaseFactory dbFactory,
     SpamProtectionCache spamProtectionCache)
 {
     this.dbFactory           = dbFactory;
     this.spamProtectionCache = spamProtectionCache;
 }
コード例 #3
0
 public CleanCacheJobsService(
     IDataBaseFactory dbFactory,
     SpamProtectionCache spamProtectionCache,
     IOptions <SchedulerOptions> schedulerOptions,
     JwtBlackListService jwtBlackListService)
 {
     this.dbFactory           = dbFactory;
     this.spamProtectionCache = spamProtectionCache;
     this.jwtBlackListService = jwtBlackListService;
     this.schedulerOptions    = schedulerOptions.Value;
 }
コード例 #4
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;
 }
コード例 #5
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;
 }