Example #1
0
 private RedisClient CreateClient(EventHandler <Core.Events.ProviderStateChangedEventArgs> providerStateChangedCallback)
 {
     return(RedisClient.GetNamedRedisClient(this.policy.ConnectionName, providerStateChangedCallback));
 }
Example #2
0
 public ScopedCacheContext(String connectionName, String converterType)
 {
     this.convert = RedisConverterFactory.CreateConverter(converterType);
     this.client  = RedisClient.GetNamedRedisClient(connectionName);
     RegisterToRedisConnectionStateChangeEvent();
 }
Example #3
0
 public CacheContext(String connectionName, String converterType)
 {
     this.convert = RedisConverterFactory.CreateConverter(converterType);
     this.client  = RedisClient.GetNamedRedisClient(connectionName);
 }