예제 #1
0
        public RemoteConfigRepository(ConfigSetting setting,
                                      RedisClient redisClient,
                                      ConfigServiceLocator configServiceLocator,
                                      ILoggerFactory loggerFactory,
                                      IJsonHelper jsonHelper,
                                      IHttpClientFactory httpClientFactory)
        {
            _logger = loggerFactory.CreateLogger <RemoteConfigRepository>();
            _config = new BucketConfig();

            _setting     = setting;
            _redisClient = redisClient;

            _serviceLocator = configServiceLocator;

            _jsonHelper        = jsonHelper;
            _httpClientFactory = httpClientFactory;
        }