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)); }
public override Task OnNavigatedFromAsync(IDictionary <string, object> pageState, bool suspending) { OneNotePartViewModel.OnNavigatedFromAsync(pageState, suspending); StatusPartViewModel.OnNavigatedFromAsync(pageState, suspending); return(base.OnNavigatedFromAsync(pageState, suspending)); }
public SettingsPageViewModel(IOneNoteService oneNote) { _oneNote = oneNote; StatusPartViewModel = new StatusPartViewModel(); OneNotePartViewModel = new OneNotePartViewModel(_oneNote); }