public SetCurrencyRatesJob(ICurrencyRateFactory currencyRateFactory, ICurrencyRateService currencyRateService) { Requires.NotNull(currencyRateFactory, "currencyRateFactory"); Requires.NotNull(currencyRateService, "currencyRateService"); _currencyRateFactory = currencyRateFactory; _currencyRateService = currencyRateService; }
public RussianCentralBankCurrencyRateRepository(IXmlCurrencyRateLoader loader, ICurrencyRateFactory currencyRateFactory) { _loader = loader; _currencyRateFactory = currencyRateFactory; }