Пример #1
0
 public PaymentModule(IRegionManager regionManager, PaymentEditorView paymentEditorView, TenderedValueView tenderedValueView,
     ReturningAmountView returningAmountView, NumberPadViewModel numberPadViewModel, ChangeTemplatesView changeTemplatesView)
     : base(regionManager, AppScreens.PaymentView)
 {
     _regionManager = regionManager;
     _paymentEditorView = paymentEditorView;
     _tenderedValueView = tenderedValueView;
     _returningAmountView = returningAmountView;
     _changeTemplatesView = changeTemplatesView;
     numberPadViewModel.TypedValueChanged += NumberPadViewModelTypedValueChanged;
 }
Пример #2
0
 public PaymentModule(IRegionManager regionManager, PaymentEditorView paymentEditorView, TenderedValueView tenderedValueView,
                      ReturningAmountView returningAmountView, NumberPadViewModel numberPadViewModel, ChangeTemplatesView changeTemplatesView)
     : base(regionManager, AppScreens.PaymentView)
 {
     _regionManager       = regionManager;
     _paymentEditorView   = paymentEditorView;
     _tenderedValueView   = tenderedValueView;
     _returningAmountView = returningAmountView;
     _changeTemplatesView = changeTemplatesView;
     numberPadViewModel.TypedValueChanged += NumberPadViewModelTypedValueChanged;
 }