Method GetRoutePartial
GetRoutePartial(INavigator, string?)
Gets the partial route that has the same parts as the navigator's current route but with the specified anchor.
Declaration
public static string GetRoutePartial(INavigator navigator, string? anchor)
Parameters
Returns
GetRoutePartial<TParentViewModel>(INavigator, IConcreteChildRoutePart<TParentViewModel>, string?)
Gets the route string for the specified partial route. The current route must contain the specified parent view model type otherwise an InvalidOperationException is thrown.
Declaration
public static string GetRoutePartial<TParentViewModel>(INavigator navigator, IConcreteChildRoutePart<TParentViewModel> childRoutePart, string? anchor = null) where TParentViewModel : class
Parameters
Returns
Type Parameters
| Name |
Description |
| TParentViewModel |
|
GetRoutePartial<TParentViewModel, TChildViewModel1>(INavigator, IConcreteChildRoutePart<TParentViewModel, TChildViewModel1>, IConcreteChildRoutePart<TChildViewModel1>, string?)
Gets the route string for the specified partial route. The current route must contain the specified parent view model type otherwise an InvalidOperationException is thrown.
Declaration
public static string GetRoutePartial<TParentViewModel, TChildViewModel1>(INavigator navigator, IConcreteChildRoutePart<TParentViewModel, TChildViewModel1> childRoutePart1, IConcreteChildRoutePart<TChildViewModel1> childRoutePart2, string? anchor = null) where TParentViewModel : class where TChildViewModel1 : class
Parameters
Returns
Type Parameters
| Name |
Description |
| TParentViewModel |
|
| TChildViewModel1 |
|
GetRoutePartial<TParentViewModel, TChildViewModel1, TChildViewModel2>(INavigator, IConcreteChildRoutePart<TParentViewModel, TChildViewModel1>, IConcreteChildRoutePart<TChildViewModel1, TChildViewModel2>, IConcreteChildRoutePart<TChildViewModel2>, string?)
Gets the route string for the specified partial route. The current route must contain the specified parent view model type otherwise an InvalidOperationException is thrown.
Declaration
public static string GetRoutePartial<TParentViewModel, TChildViewModel1, TChildViewModel2>(INavigator navigator, IConcreteChildRoutePart<TParentViewModel, TChildViewModel1> childRoutePart1, IConcreteChildRoutePart<TChildViewModel1, TChildViewModel2> childRoutePart2, IConcreteChildRoutePart<TChildViewModel2> childRoutePart3, string? anchor = null) where TParentViewModel : class where TChildViewModel1 : class where TChildViewModel2 : class
Parameters
Returns
Type Parameters
| Name |
Description |
| TParentViewModel |
|
| TChildViewModel1 |
|
| TChildViewModel2 |
|