Esempio n. 1
0
        public DeleteBatchCommand(DonkeyListPresenter donkeyListPresenter, DonkeyListViewModel donkeyListViewModel)
        {
            _donkeyListPresenter = donkeyListPresenter;
            _donkeyListViewModel = donkeyListViewModel;

            _donkeyListViewModel.PropertyChanged += OnDonkeyListViewModelOnPropertyChanged;
        }
Esempio n. 2
0
 public AddDonkeyCommand(DonkeyListPresenter donkeyListPresenter, DonkeyListViewModel donkeyListViewModel)
 {
     _donkeyListPresenter = donkeyListPresenter;
     _donkeyListViewModel = donkeyListViewModel;
 }
Esempio n. 3
0
 public ICommand CreateDeleteBatchCommand(DonkeyListViewModel donkeyListViewModel)
 {
     return(new DeleteBatchCommand(_donkeyListPresenter, donkeyListViewModel));
 }
Esempio n. 4
0
 public ICommand CreateAddBatchCommand(DonkeyListViewModel donkeyListViewModel)
 {
     return(new AddDonkeyCommand(_donkeyListPresenter, donkeyListViewModel));
 }