Пример #1
0
 public HttpConfigurationPoller(ConfigOptions setting,
                                RemoteConfigRepository repository,
                                RedisClient redisClient,
                                IJsonHelper jsonHelper,
                                ILogger <HttpConfigurationPoller> logger)
 {
     _setting     = setting;
     _repository  = repository;
     _redisClient = redisClient;
     _jsonHelper  = jsonHelper;
     _logger      = logger;
 }
Пример #2
0
 public DefaultConfig(RemoteConfigRepository configRepository, ILoggerFactory loggerFactory)
 {
     _configRepository = configRepository;
     _logger           = loggerFactory.CreateLogger <DefaultConfig>();
 }