Beispiel #1
0
 public RedisHelper(CacheConfig config)
 {
     _config = config.Redis;
     CreateConnection();
 }
Beispiel #2
0
 public RedisHelper(CacheConfig config, IRedisSerializer redisSerializer)
 {
     _redisSerializer = redisSerializer;
     _config          = config.Redis;
     CreateConnection();
 }