public RemoteStoreRepository(IOptions <ErrorCodeSetting> errorCodeConfiguration, ILoggerFactory loggerFactory, IJsonHelper jsonHelper)
 {
     _logger = loggerFactory.CreateLogger <RemoteStoreRepository>();
     _config = new ErrorCodeConfig();
     _errorCodeConfiguration = errorCodeConfiguration.Value;
     _jsonHelper             = jsonHelper;
 }
 public ErrorCodePoller(IOptions <ErrorCodeSetting> errorCodeConfiguration, IDataRepository dataRepository, ILogger <ErrorCodePoller> logger)
 {
     _errorCodeConfiguration = errorCodeConfiguration.Value;
     _dataRepository         = dataRepository;
     _logger = logger;
 }
Example #3
0
 public HttpUrlRepository(IOptions <ErrorCodeSetting> errorCodeConfiguration)
 {
     _errorCodeConfiguration = errorCodeConfiguration.Value;
 }