Пример #1
0
 public ExchangeRatesFetcher(ILogger <ExchangeRatesFetcher> logger,
                             IOptions <ExchangeRatesFetcherOptions> options,
                             IExchangeRatesStorage exchangeRatesStorage,
                             IExchangeRatesServiceClient exchangeRatesServiceClient)
 {
     _exchangeRatesStorage       = exchangeRatesStorage;
     _exchangeRatesServiceClient = exchangeRatesServiceClient;
     _options = options;
     _logger  = logger;
 }
Пример #2
0
 public ExchangeRatePredictor(IExchangeRatesStorage exchangeRatesStorage,
                              IOptions <ExchangeRatePredictorOptions> options)
 {
     _exchangeRatesStorage = exchangeRatesStorage;
     _options = options;
 }