public BarCodeController(IBarCodeService codeService, IProductService prodService, IMapper mapper, ILogger <BarCodeController> logger) { _codeService = codeService; _prodService = prodService; _mapper = mapper; _logger = logger; }
public BarCodeCreateViewModel(IBarCodeService service, IUserDialogService dialogs) { this.service = service; this.dialogs = dialogs; this.Formats = Enum.GetNames(typeof(BarCodeFormat)); this.selectedFormat = "QR_CODE"; this.width = 200; this.height = 200; }
public BarCodeViewModel(IBarCodeService scanner, IUserDialogService dialogs) { this.Scanner = scanner; this.dialogs = dialogs; var list = Enum .GetNames(typeof(BarCodeFormat)) .ToList(); list.Insert(0, "Any"); this.Formats = list; this.SelectedFormat = "Any"; }
public EventVoucherListViewModel(IBaseRepository <Models.Voucher> voucherRepository, IVoucherService voucherService, INavigationService navigationService, IEventAggregator eventAggregator, IBarCodeService barCodeService, ITotpCodeService totpCodeService, IUIServices uiServices) : base(uiServices, navigationService) { _voucherService = voucherService; _navigationService = navigationService; _eventAggregator = eventAggregator; _barCodeService = barCodeService; _totpCodeService = totpCodeService; _voucherRepository = voucherRepository; GetEventVoucherListCommand = new DelegateCommand(GetEventVoucherListCommandAction); }
public BarCodeViewModel(IBarCodeService scanner, IUserDialogService dialogs) { this.Scanner = scanner; this.dialogs = dialogs; var list = Enum .GetNames(typeof(BarCodeFormat)) .ToList(); list.Insert(0, "Any"); this.Formats = list; //this.SelectedFormat = "Any"; }
public MainViewModel(IBarCodeService barCodeService, IUserDialogService userDialogService, IDataService dataService, ICalculationAmountService amountService) { _dataService = dataService; _amountService = amountService; _barCodeService = barCodeService; _userDialogService = userDialogService; SynchronizePromotion(); RefreshPromotion(); InitializeVariables(); Recalc(); RefreshPreviousTrans(); }