public RedisConfigurationProvider(IHashClient hashClient, IOptions <RedisConfigurationOption> redisOptions, string configurationKey)
 {
     _hashClient   = hashClient;
     _redisOptions = redisOptions.Value;
     if (!string.IsNullOrWhiteSpace(configurationKey))
     {
         _configurationHashKey = configurationKey;
     }
 }
Exemplo n.º 2
0
 public ApplicationSettingInRedisService(IHashClient hashClient)
 {
     _hashClient = hashClient;
 }
 public RedisConfigurationProvider(IHashClient hashClient, IOptions <RedisConfigurationOption> redisOptions)
 {
     _hashClient   = hashClient;
     _redisOptions = redisOptions.Value;
 }