public DynamicCacheShapeDisplayEvents(
     IDynamicCache dynamicCache,
     ITagCache tagCache,
     ICacheContextManager cacheContextManager)
 {
     _dynamicCache = dynamicCache;
     _tagCache = tagCache;
     _cacheContextManager = cacheContextManager;
 }
Exemplo n.º 2
0
 public DynamicCacheShapeDisplayEvents(
     IDynamicCache dynamicCache,
     IServiceProvider serviceProvider,
     ICacheContextManager cacheContextManager)
 {
     _dynamicCache        = dynamicCache;
     _serviceProvider     = serviceProvider;
     _cacheContextManager = cacheContextManager;
 }
 public DynamicCacheShapeDisplayEvents(
     IDynamicCache dynamicCache,
     ITagCache tagCache,
     ICacheContextManager cacheContextManager)
 {
     _dynamicCache        = dynamicCache;
     _tagCache            = tagCache;
     _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;
 }
Exemplo n.º 8
0
 public HostCache(ILogger <HostCache> logger, IDynamicCache <string, CurrencyPair> cache)
 {
     _cache  = cache;
     _logger = logger;
 }