public CacheApiController( IApiResponseHelper apiResponseHelper, IObjectCacheFactory objectCacheFactory ) { _objectCacheFactory = objectCacheFactory; _apiResponseHelper = apiResponseHelper; }
public SetupCofoundryCommandHandler( IDomainRepository domainRepository, IObjectCacheFactory objectCacheFactory ) { _domainRepository = domainRepository.WithElevatedPermissions(); _objectCacheFactory = objectCacheFactory; }
public WebDirectoryCache( IObjectCacheFactory cacheFactory, IPageCache pageCache ) { _cache = cacheFactory.Get(CACHEKEY); _pageCache = pageCache; }
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; }
public ImageAssetCache( IObjectCacheFactory cacheFactory ) { _cache = cacheFactory.Get("COF_ImageAssets"); }
public SettingCache(IObjectCacheFactory cacheFactory) { _cache = cacheFactory.Get(CACHEKEY); }
public PageModuleTypeCache(IObjectCacheFactory cacheFactory) { _cache = cacheFactory.Get(CACHEKEY); }
public RewriteRuleCache(IObjectCacheFactory cacheFactory) { _cache = cacheFactory.Get(CACHEKEY); }
public CacheCleaner([NotNull] IObjectCacheFactory objectCacheFactory) { if (objectCacheFactory == null) throw new ArgumentNullException(nameof(objectCacheFactory)); _objectCacheFactory = objectCacheFactory; }
public PageBlockTypeCache(IObjectCacheFactory cacheFactory) { _cache = cacheFactory.Get(CACHEKEY); }
public LocaleCache(IObjectCacheFactory cacheFactory) { _cache = cacheFactory.Get(CACHEKEY); }
public CustomEntityCache(IObjectCacheFactory cacheFactory) { _cache = cacheFactory.Get(CACHEKEY); }