コード例 #1
0
 public static void ToOrganizationListPage(this IStackNavigationService navigationService, bool isStackPop = false)
 {
     if (isStackPop)
     {
         navigationService.NavigateToAndRemoveSelf(nameof(OrganizationListPage));
     }
     else
     {
         navigationService.NavigateTo(nameof(OrganizationListPage));
     }
 }
コード例 #2
0
 public static void ToAboutPage(this IStackNavigationService navigationService) => navigationService.NavigateTo(nameof(AboutPage));
コード例 #3
0
 public static void ToProjectPage(this IStackNavigationService navigationService) => navigationService.NavigateTo(nameof(ProjectPage));
コード例 #4
0
 public static void ToProjectPage(this IStackNavigationService navigationService, TeamProjectReference project) => navigationService.NavigateTo(nameof(ProjectPage), project);
コード例 #5
0
 public static void ToProjectListPage(this IStackNavigationService navigationService, AccountData account) => navigationService.NavigateTo(nameof(ProjectListPage), account);
コード例 #6
0
 public static void ToProjectItemDetailsPage(this IStackNavigationService navigationService, RichWorkItem workItem, TeamProjectReference project)
 => navigationService.NavigateTo(nameof(ProjectItemDetails), new Tuple <RichWorkItem, TeamProjectReference>(workItem, project));
コード例 #7
0
 public static void ToLoginPage(this IStackNavigationService navigationService) => navigationService.NavigateTo(nameof(LoginPage));
コード例 #8
0
 public static void ToProjectItemDetailsPage(this IStackNavigationService navigationService, RichWorkItem workItem) => navigationService.NavigateTo(nameof(ProjectItemDetails), workItem);
コード例 #9
0
 protected void NavigateTo(string pageKey, object parameter = null)
 {
     _navigationService.NavigateTo(pageKey, parameter);
 }