Method NavigatePartial
NavigatePartial(RouteOptions)
Navigates to a partial route that has the same path as the current route but with the specified options.
Declaration
public static Redirect NavigatePartial(RouteOptions routeOptions)
Parameters
Returns
NavigatePartial<TParentViewModel>(IConcreteChildRoutePart<TParentViewModel>, RouteOptions?)
Navigates to the specified partial route. The current route must contain a view with the specified parent view model type otherwise an InvalidOperationException is thrown.
Declaration
public static Redirect NavigatePartial<TParentViewModel>(IConcreteChildRoutePart<TParentViewModel> childRoutePart, RouteOptions? routeOptions = null) where TParentViewModel : class
Parameters
Returns
Type Parameters
| Name |
Description |
| TParentViewModel |
|
NavigatePartial<TParentViewModel, TChildViewModel1>(IConcreteChildRoutePart<TParentViewModel, TChildViewModel1>, IConcreteChildRoutePart<TChildViewModel1>, RouteOptions?)
Navigates to the specified partial route. The current route must contain a view with the specified parent view model type otherwise an InvalidOperationException is thrown.
Declaration
public static Redirect NavigatePartial<TParentViewModel, TChildViewModel1>(IConcreteChildRoutePart<TParentViewModel, TChildViewModel1> childRoutePart1, IConcreteChildRoutePart<TChildViewModel1> childRoutePart2, RouteOptions? routeOptions = null) where TParentViewModel : class where TChildViewModel1 : class
Parameters
Returns
Type Parameters
| Name |
Description |
| TParentViewModel |
|
| TChildViewModel1 |
|
NavigatePartial<TParentViewModel, TChildViewModel1, TChildViewModel2>(IConcreteChildRoutePart<TParentViewModel, TChildViewModel1>, IConcreteChildRoutePart<TChildViewModel1, TChildViewModel2>, IConcreteChildRoutePart<TChildViewModel2>, RouteOptions?)
Navigates to the specified partial route. The current route must contain a view with the specified parent view model type otherwise an InvalidOperationException is thrown.
Declaration
public static Redirect NavigatePartial<TParentViewModel, TChildViewModel1, TChildViewModel2>(IConcreteChildRoutePart<TParentViewModel, TChildViewModel1> childRoutePart1, IConcreteChildRoutePart<TChildViewModel1, TChildViewModel2> childRoutePart2, IConcreteChildRoutePart<TChildViewModel2> childRoutePart3, RouteOptions? routeOptions = null) where TParentViewModel : class where TChildViewModel1 : class where TChildViewModel2 : class
Parameters
Returns
Type Parameters
| Name |
Description |
| TParentViewModel |
|
| TChildViewModel1 |
|
| TChildViewModel2 |
|