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