Beispiel #1
0
 protected CacheManagerBase(ICacheConfiguratorManager cacheConfiguratorManager)
 {
     CacheConfiguratorManager = cacheConfiguratorManager;
     Caches = new ConcurrentDictionary <string, ICache>();
 }
Beispiel #2
0
 public RedisCacheManager(IRedisCacheDatabaseProvider redisCacheDatabaseProvider,
                          ICacheConfiguratorManager cacheConfiguratorManager) : base(cacheConfiguratorManager)
 {
     _redisCacheDatabaseProvider = redisCacheDatabaseProvider;
 }