public RecurringJobsBuilder(IRecurringJobService recurringJobService, IOptions <CryptocurrencyProvidersOptions> Options, ICryptocurrencyExchangeProvider cryptocurrencyExchangeProvider, IExchangeRateProviderRecuringJobAdapter exchangeRateProviderRecuringJobAdapter) { _options = Options.Value; _cryptocurrencyExchangeProvider = cryptocurrencyExchangeProvider; _recurringJobService = recurringJobService; _exchangeRateProviderRecuringJobAdapter = exchangeRateProviderRecuringJobAdapter; }
public CryptocurrencyExchangeProvider(IOptions <CryptocurrencyProvidersOptions> Options, IEnumerable <IExchangeRatesProvider> exchangeRatesProviders) { _options = Options.Value; _exchangeRatesProviders = exchangeRatesProviders; }