Method Root
Root<TViewModel, TParam>(RouteBuilder)
Converts the route builder to a parameterized route builder with the specified parameter type.
Declaration
public static RootRoutePart<TViewModel, TParam> Root<TViewModel, TParam>(this RouteBuilder builder) where TViewModel : class, IRoutedViewModel<TParam> where TParam : notnull
Parameters
| Type | Name | Description |
|---|---|---|
| RouteBuilder | builder |
Returns
| Type | Description |
|---|---|
| RootRoutePart<TViewModel, TParam> |
Type Parameters
| Name | Description |
|---|---|
| TViewModel | |
| TParam |