예제 #1
0
 public CacheApiController(
     IApiResponseHelper apiResponseHelper,
     IObjectCacheFactory objectCacheFactory
     )
 {
     _objectCacheFactory = objectCacheFactory;
     _apiResponseHelper  = apiResponseHelper;
 }
예제 #2
0
 public SetupCofoundryCommandHandler(
     IDomainRepository domainRepository,
     IObjectCacheFactory objectCacheFactory
     )
 {
     _domainRepository   = domainRepository.WithElevatedPermissions();
     _objectCacheFactory = objectCacheFactory;
 }
예제 #3
0
 public WebDirectoryCache(
     IObjectCacheFactory cacheFactory,
     IPageCache pageCache
     )
 {
     _cache     = cacheFactory.Get(CACHEKEY);
     _pageCache = pageCache;
 }
예제 #4
0
 public SetupCofoundryCommandHandler(
     ICommandExecutor commandExecutor,
     IQueryExecutor queryExecutor,
     CofoundryDbContext dbContext,
     ITransactionScopeManager transactionScopeFactory,
     UserContextMapper userContextMapper,
     IObjectCacheFactory objectCacheFactory
     )
 {
     _commandExecutor         = commandExecutor;
     _queryExecutor           = queryExecutor;
     _dbContext               = dbContext;
     _transactionScopeFactory = transactionScopeFactory;
     _userContextMapper       = userContextMapper;
     _objectCacheFactory      = objectCacheFactory;
 }
예제 #5
0
 public ImageAssetCache(
     IObjectCacheFactory cacheFactory
     )
 {
     _cache = cacheFactory.Get("COF_ImageAssets");
 }
예제 #6
0
 public SettingCache(IObjectCacheFactory cacheFactory)
 {
     _cache = cacheFactory.Get(CACHEKEY);
 }
예제 #7
0
 public PageModuleTypeCache(IObjectCacheFactory cacheFactory)
 {
     _cache = cacheFactory.Get(CACHEKEY);
 }
예제 #8
0
 public RewriteRuleCache(IObjectCacheFactory cacheFactory)
 {
     _cache = cacheFactory.Get(CACHEKEY);
 }
예제 #9
0
 public CacheCleaner([NotNull] IObjectCacheFactory objectCacheFactory)
 {
     if (objectCacheFactory == null) throw new ArgumentNullException(nameof(objectCacheFactory));
     _objectCacheFactory = objectCacheFactory;
 }
예제 #10
0
 public PageBlockTypeCache(IObjectCacheFactory cacheFactory)
 {
     _cache = cacheFactory.Get(CACHEKEY);
 }
예제 #11
0
 public LocaleCache(IObjectCacheFactory cacheFactory)
 {
     _cache = cacheFactory.Get(CACHEKEY);
 }
예제 #12
0
 public CustomEntityCache(IObjectCacheFactory cacheFactory)
 {
     _cache = cacheFactory.Get(CACHEKEY);
 }