public ExchangeRateService(BaseServiceDependencies dependencies, ExchangeRateServiceDependencies exchangeRateServiceDependencies) : base(dependencies) { exchangeRateServiceDependencies.EnsureIsResolved(); _deps = exchangeRateServiceDependencies; _settings = new ExchangeRateSettings(); }
public ExchangeRateCalculator(IRepository<Currency> currencyRepository, NationalExchangeRateRoundingSettings roundingSettings) { Argument.NotNull(currencyRepository, "currencyRepository"); Argument.NotNull(roundingSettings, "roundingSettings"); _roundingSettings = roundingSettings; _currencyRepository = currencyRepository; _settings = new ExchangeRateSettings(); }
public ExchangeRateCalculator(IRepository <Currency> currencyRepository, NationalExchangeRateRoundingSettings roundingSettings) { Argument.NotNull(currencyRepository, "currencyRepository"); Argument.NotNull(roundingSettings, "roundingSettings"); _roundingSettings = roundingSettings; _currencyRepository = currencyRepository; _settings = new ExchangeRateSettings(); }