public PaymentListViewModel(IPaymentRepository paymentRepository,
            IAccountRepository accountRepository,
            IBalanceViewModel balanceViewModel,
            IDialogService dialogService,
            INavigationService navigationService,
            IPaymentManager paymentManager)
        {
            this.paymentRepository = paymentRepository;
            this.accountRepository = accountRepository;
            this.balanceViewModel = balanceViewModel;
            this.dialogService = dialogService;
            this.navigationService = navigationService;
            this.paymentManager = paymentManager;

            BalanceViewModel = new PaymentViewModelListBalanceViewModel(accountRepository, paymentRepository);
        }
예제 #2
0
        public PaymentListViewModel(IPaymentRepository paymentRepository,
                                    IAccountRepository accountRepository,
                                    IBalanceViewModel balanceViewModel,
                                    IDialogService dialogService,
                                    INavigationService navigationService,
                                    IPaymentManager paymentManager)
        {
            this.paymentRepository = paymentRepository;
            this.accountRepository = accountRepository;
            this.balanceViewModel  = balanceViewModel;
            this.dialogService     = dialogService;
            this.navigationService = navigationService;
            this.paymentManager    = paymentManager;

            BalanceViewModel = new PaymentViewModelListBalanceViewModel(accountRepository, paymentRepository);
        }