예제 #1
0
 public FilterRuleFinder(IAppContext appContext
                         , IFilterRuleRepository filterRuleRepository)
 {
     _appContext           = appContext;
     _filterRuleRepository = filterRuleRepository;
     _cacheService         = new Caching.CacheManager <FilterRule>(FilterRuleCache.CacheKey(_appContext), FilterRuleCache.BuildKey);
 }
예제 #2
0
 public FilterRuleFinder(IAppContext appContext
                         , IFilterRuleRepository filterRuleRepository)
 {
     _appContext           = appContext;
     _filterRuleRepository = filterRuleRepository;
     _cacheService         = new Caching.CacheManager <FilterRule>(FilterRuleCache.CacheKey(_appContext), _appContext.PlatformSettings.CacheEnabled);
 }
예제 #3
0
 public FilterRuleDeleter(IAppContext appContext
                          , IFilterRuleRepository filterRuleRepository
                          , IFilterRuleDependency dependencyService
                          , IEntityPluginDeleter entityPluginDeleter)
 {
     _appContext           = appContext;
     _filterRuleRepository = filterRuleRepository;
     _dependencyService    = dependencyService;
     _entityPluginDeleter  = entityPluginDeleter;
     _cacheService         = new Caching.CacheManager <FilterRule>(FilterRuleCache.CacheKey(_appContext), _appContext.PlatformSettings.CacheEnabled);
 }
예제 #4
0
 public FilterRuleUpdater(IAppContext appContext
                          , IFilterRuleRepository filterRuleRepository
                          , IAttributeFinder attributeFinder
                          , IFilterRuleDependency dependencyService)
 {
     _appContext           = appContext;
     _filterRuleRepository = filterRuleRepository;
     _attributeFinder      = attributeFinder;
     _dependencyService    = dependencyService;
     _cacheService         = new Caching.CacheManager <FilterRule>(FilterRuleCache.CacheKey(_appContext), FilterRuleCache.BuildKey);
 }