public ProductPricingService(IUnitConverter unitConverter, IFxRateRepository fxRateRepository, IProductRepository productRepository) { _unitConverter = unitConverter; _fxRateRepository = fxRateRepository; _productRepository = productRepository; }
public FxRatesController(IUnitOfWork unitOfWork, IFxRateRepository fxRateRepository, ICurrencyRepository currencyRepository, IForeignExchangeRateService foreignExchangeRateService, ILogger <FxRatesController> logger, IHostingEnvironment hostingEnvironment) { _unitOfWork = unitOfWork; _fxRateRepository = fxRateRepository; _currencyRepository = currencyRepository; _foreignExchangeRateService = foreignExchangeRateService; _logger = logger; _hostingEnvironment = hostingEnvironment; }
public MyTermVisitor(IUnitConverter unitConverter, IFxRateRepository fxRateRepository) { _unitConverter = unitConverter; _fxRateRepository = fxRateRepository; }
public void OneTimeSetUp() { var priceSource = new RandomPriceSource(); _sut = new FxRateRepository(priceSource); }
public FxRatesCsvImporter(IFxRateRepository fxRateRepository, ICurrencyRepository currencyRepository) { _fxRateRepository = fxRateRepository ?? throw new ArgumentNullException(nameof(fxRateRepository)); _currencyRepository = currencyRepository ?? throw new ArgumentNullException(nameof(currencyRepository)); }