Example #1
0
 public OrderCreationProductViewModel(OrderProductSM orderProduct,
                                      IBarcodeProducer barcodeProducer,
                                      CurrencySettings currencySettings)
 {
     _orderProduct     = orderProduct;
     _barcodeProducer  = barcodeProducer;
     _currencySettings = currencySettings;
 }
Example #2
0
 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;
 }
Example #3
0
 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;
 }