/// <summary> /// Simple helper method that allows us to navigate to a page using a strongly typed /// page reference without needing to explicitly specify the type twice. /// </summary> /// <typeparam name="TView">The type of the view to navigate to</typeparam> /// <param name="view">The view to navigate to</param> public static void Navigate <TView>(TView view) { NavigationServiceHelper <TView> .Navigate(view); }
public static void Navigate(this NavigationService navigationService, String pageUri) { NavigationServiceHelper.Navigate(pageUri); }
/// <summary> /// Simple helper method that allows us to navigate to a page using a strongly typed /// page reference without needing to explicitly specify the type twice. /// </summary> /// <typeparam name="TView">The type of the view to navigate to</typeparam> /// <param name="view">The view to navigate to</param> public static void Navigate <TView>(TView view, object parameter = null) { NavigationServiceHelper <TView> .Navigate(view, parameter); }