示例#1
0
 public override Task OnNavigatedToAsync(object parameter, NavigationMode mode, IDictionary <string, object> state)
 {
     OneNotePartViewModel.OnNavigatedToAsync(parameter, mode, state);
     StatusPartViewModel.OnNavigatedToAsync(parameter, mode, state);
     return(base.OnNavigatedToAsync(parameter, mode, state));
 }
示例#2
0
 public override Task OnNavigatedFromAsync(IDictionary <string, object> pageState, bool suspending)
 {
     OneNotePartViewModel.OnNavigatedFromAsync(pageState, suspending);
     StatusPartViewModel.OnNavigatedFromAsync(pageState, suspending);
     return(base.OnNavigatedFromAsync(pageState, suspending));
 }
示例#3
0
 public SettingsPageViewModel(IOneNoteService oneNote)
 {
     _oneNote             = oneNote;
     StatusPartViewModel  = new StatusPartViewModel();
     OneNotePartViewModel = new OneNotePartViewModel(_oneNote);
 }