public OrderCreationProductViewModel(OrderProductSM orderProduct, IBarcodeProducer barcodeProducer, CurrencySettings currencySettings) { _orderProduct = orderProduct; _barcodeProducer = barcodeProducer; _currencySettings = currencySettings; }
public OrderDetailsViewModel(ISessionRegister sessionRegister, IShellProvider shellProvider, IBarcodeProducer barcodeProducer, IOptions <CurrencySettings> currencyOptions, IOrderArchive orderArchive) : this() { _sessionRegister = sessionRegister; _shellProvider = shellProvider; _barcodeProducer = barcodeProducer; _currencySettings = currencyOptions.Value; _orderArchive = orderArchive; }
public OrderCreationViewModel(ISessionRegister sessionRegister, IProductRack productRack, IWindowManager windowManager, IShoppingCart shoppingCart, IShellProvider shellProvider, IBarcodeProducer barcodeProducer, IOptions <CurrencySettings> currencyOptions) { _sessionRegister = sessionRegister; _productRack = productRack; _windowManager = windowManager; _shoppingCart = shoppingCart; _shellProvider = shellProvider; _barcodeProducer = barcodeProducer; _currencySettings = currencyOptions.Value; }