protected async Task LoadPageDataAsync(CancellationToken cancellationToken) { var contents = await PresentationService.GetPageAsync(CurrentNavigationState.PageType == PageType.Dashboard ? "__dashboard" : CurrentNavigationState.CollectionAlias); if (cancellationToken.IsCancellationRequested) { return; } PageContents = contents; }
protected async Task LoadPageDataAsync() { PageContents = await PresentationService.GetPageAsync(CurrentState.PageType == PageType.Dashboard ? "__dashboard" : CurrentState.CollectionAlias); }