Method GetRoute
GetRoute(IEnumerable<IConcreteRoutePart>, string?)
Gets the route string represented by the specified route parts, optionally including an anchor.
The query string is included for the leaf route part (if any).
Declaration
public static string GetRoute(IEnumerable<IConcreteRoutePart> routeParts, string? anchor = null)
Parameters
Returns
GetRoute(IConcreteRootRoutePart, string?)
Gets the route string represented by the specified root route part.
Declaration
public static string GetRoute(IConcreteRootRoutePart rootRoutePart, string? anchor = null)
Parameters
Returns
GetRoute<TRootViewModel>(IConcreteRootRoutePart<TRootViewModel>, IConcreteChildRoutePart<TRootViewModel>, string?)
Gets the route string represented by the specified root and child route parts.
Declaration
public static string GetRoute<TRootViewModel>(IConcreteRootRoutePart<TRootViewModel> rootRoutePart, IConcreteChildRoutePart<TRootViewModel> childRoutePart, string? anchor = null) where TRootViewModel : class
Parameters
Returns
Type Parameters
| Name |
Description |
| TRootViewModel |
|
GetRoute<TRootViewModel, TChildViewModel1>(IConcreteRootRoutePart<TRootViewModel>, IConcreteChildRoutePart<TRootViewModel, TChildViewModel1>, IConcreteChildRoutePart<TChildViewModel1>, string?)
Gets the route string represented by the specified root and child route parts.
Declaration
public static string GetRoute<TRootViewModel, TChildViewModel1>(IConcreteRootRoutePart<TRootViewModel> rootRoutePart, IConcreteChildRoutePart<TRootViewModel, TChildViewModel1> childRoutePart1, IConcreteChildRoutePart<TChildViewModel1> childRoutePart2, string? anchor = null) where TRootViewModel : class where TChildViewModel1 : class
Parameters
Returns
Type Parameters
| Name |
Description |
| TRootViewModel |
|
| TChildViewModel1 |
|
GetRoute<TRootViewModel, TChildViewModel1, TChildViewModel2>(IConcreteRootRoutePart<TRootViewModel>, IConcreteChildRoutePart<TRootViewModel, TChildViewModel1>, IConcreteChildRoutePart<TChildViewModel1, TChildViewModel2>, IConcreteChildRoutePart<TChildViewModel2>, string?)
Gets the route string represented by the specified root and child route parts.
Declaration
public static string GetRoute<TRootViewModel, TChildViewModel1, TChildViewModel2>(IConcreteRootRoutePart<TRootViewModel> rootRoutePart, IConcreteChildRoutePart<TRootViewModel, TChildViewModel1> childRoutePart1, IConcreteChildRoutePart<TChildViewModel1, TChildViewModel2> childRoutePart2, IConcreteChildRoutePart<TChildViewModel2> childRoutePart3, string? anchor = null) where TRootViewModel : class where TChildViewModel1 : class where TChildViewModel2 : class
Parameters
Returns
Type Parameters
| Name |
Description |
| TRootViewModel |
|
| TChildViewModel1 |
|
| TChildViewModel2 |
|