public DynamicCacheShapeDisplayEvents(
     IDistributedCache distributedMemoryCache,
     ICacheContextManager cacheContextManager)
 {
     _distributedMemoryCache = distributedMemoryCache;
     _cacheContextManager    = cacheContextManager;
 }
 public DynamicCacheShapeDisplayEvents(
     IDistributedCache distributedMemoryCache,
     ICacheContextManager cacheContextManager)
 {
     _distributedMemoryCache = distributedMemoryCache;
     _cacheContextManager = cacheContextManager;
 }
 public DynamicCacheShapeDisplayEvents(
     IDynamicCache dynamicCache,
     ITagCache tagCache,
     ICacheContextManager cacheContextManager)
 {
     _dynamicCache = dynamicCache;
     _tagCache = tagCache;
     _cacheContextManager = cacheContextManager;
 }
 public DynamicCacheShapeDisplayEvents(
     IDynamicCache dynamicCache,
     ITagCache tagCache,
     ICacheContextManager cacheContextManager)
 {
     _dynamicCache        = dynamicCache;
     _tagCache            = tagCache;
     _cacheContextManager = cacheContextManager;
 }
Beispiel #5
0
 public DynamicCacheShapeDisplayEvents(
     IDynamicCache dynamicCache,
     IServiceProvider serviceProvider,
     ICacheContextManager cacheContextManager)
 {
     _dynamicCache        = dynamicCache;
     _serviceProvider     = serviceProvider;
     _cacheContextManager = cacheContextManager;
 }
 public DefaultDynamicCacheService(
     ICacheContextManager cacheContextManager,
     IDynamicCache dynamicCache,
     IServiceProvider serviceProvider,
     IOptions <CacheOptions> options)
 {
     _cacheContextManager = cacheContextManager;
     _dynamicCache        = dynamicCache;
     _serviceProvider     = serviceProvider;
     _cacheOptions        = options.Value;
 }
 public DefaultDynamicCacheService(
     ArrayPool <char> _arrayPool,
     ICacheContextManager cacheContextManager,
     IDynamicCache dynamicCache,
     IServiceProvider serviceProvider,
     IOptions <CacheOptions> options)
 {
     _serializer          = new PoolingJsonSerializer(_arrayPool);
     _cacheContextManager = cacheContextManager;
     _dynamicCache        = dynamicCache;
     _serviceProvider     = serviceProvider;
     _cacheOptions        = options.Value;
 }
 public DefaultDynamicCacheService(
     ArrayPool <char> _arrayPool,
     ICacheContextManager cacheContextManager,
     IDynamicCache dynamicCache,
     IMemoryCache memoryCache,
     IServiceProvider serviceProvider,
     IOptions <DynamicCacheOptions> dynamicCacheOptions,
     IOptions <CacheOptions> options,
     ILogger <DefaultDynamicCacheService> logger)
 {
     _serializer          = new PoolingJsonSerializer(_arrayPool);
     _cacheContextManager = cacheContextManager;
     _dynamicCache        = dynamicCache;
     _memoryCache         = memoryCache;
     _serviceProvider     = serviceProvider;
     _dynamicCacheOptions = dynamicCacheOptions.Value;
     _dynamicCacheOptions.FailoverRetryLatency ??= DefaultFailoverRetryLatency;
     _cacheOptions = options.Value;
     _logger       = logger;
 }
 public DefaultDynamicCacheService(ICacheContextManager cacheContextManager, IDynamicCache dynamicCache, IServiceProvider serviceProvider)
 {
     _cacheContextManager = cacheContextManager;
     _dynamicCache        = dynamicCache;
     _serviceProvider     = serviceProvider;
 }