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