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