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