예제 #1
0
 public RedisCache(RedisConfig redisConfig)
 {
     _redisConfig   = redisConfig;
     _redisDatabase = _redisConfig.RedisMultiplexer.GetDatabase(_redisConfig.RedisDatabaseId);
 }
예제 #2
0
 public RedisHash(RedisConfig redisConfig)
 {
     RedisDatabase       = redisConfig.RedisMultiplexer.GetDatabase(redisConfig.RedisDatabaseId);
     FlattenDictionaries = false;
 }