Пример #1
0
 public FamousPeopleDetailPageViewModel(INavigationService navigationService,
                                        IFamousPeopleService famousPeopleService)
     : base(navigationService)
 {
     this.famousPeopleService = famousPeopleService;
     BackCommand = new DelegateCommand(async() => await BackCommandExecute());
 }
Пример #2
0
 public FamousPeopleListPageViewModel(INavigationService navigationService,
                                      IFamousPeopleService famousPeopleService,
                                      IDialogService dialogService)
     : base(navigationService)
 {
     this.famousPeopleService = famousPeopleService;
     this.dialogService       = dialogService;
     ItemTappedCommand        = new DelegateCommand <object>(async(Oid) => await ItemTappedCommandExecute(Oid));
 }