Example #1
0
        public SelectTipsModeViewModel(TipsReceivingOperationContext tipsReceivingOperationContext)
        {
            _tipsReceivingOperationContext = tipsReceivingOperationContext;

            SelectSberQRModeCommand  = new Command(SelectSberQRMode);
            SelectSmsBankModeCommand = new Command(SelectSmsBankMode);
        }
Example #2
0
        public InputPnoneNumberSmsBankViewModel(TipsReceivingOperationContext tipsReceivingOperationContext)
        {
            _tipsReceivingOperationContext = tipsReceivingOperationContext;

            InputNumberCommand = new Command <string>(InputNumber);

            RemoveNumberCommand = new Command(RemoveNumber);

            ContinueCommand = new Command(Continue, CanContinue);
        }
Example #3
0
 public ConfirmSmsBankViewModel(TipsReceivingOperationContext tipsReceivingOperationContext)
 {
     _tipsReceivingOperationContext = tipsReceivingOperationContext;
     ConfirmCommand = new Command(Confirm);
 }
Example #4
0
 public QRCodeViewModel(TipsReceivingOperationContext tipsReceivingOperationContext)
 {
     _tipsReceivingOperationContext = tipsReceivingOperationContext;
     TipsUrl       = ServiceLocator.ApplicationInfoStore.GetTipsUrl();
     CancelCommand = new Command(Cancel);
 }
Example #5
0
        public SelectBankViewModel(TipsReceivingOperationContext tipsReceivingOperationContext)
        {
            _tipsReceivingOperationContext = tipsReceivingOperationContext;

            SelectBankCommand = new Command(o => SelectBank((string)o));
        }