示例#1
0
 public OrderListViewModel(ISessionRegister sessionRegister,
                           IShellProvider shellProvider,
                           IOrderArchive orderArchive,
                           IOptions <CurrencySettings> currencyOptions) : this()
 {
     _sessionRegister  = sessionRegister;
     _shellProvider    = shellProvider;
     _orderArchive     = orderArchive;
     _currencySettings = currencyOptions.Value;
 }
示例#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;
 }