Method ForNested
ForNested<TParentViewModel, TNestedViewModel>()
Creates a nested route for the specified parent and nested view model types.
Declaration
public NestedRoute<TParentViewModel, TNestedViewModel> ForNested<TParentViewModel, TNestedViewModel>() where TNestedViewModel : class, IRoutedViewModel
Returns
Type | Description |
---|---|
NestedRoute<TParentViewModel, TNestedViewModel> |
Type Parameters
Name | Description |
---|---|
TParentViewModel | |
TNestedViewModel |
Exceptions
Type | Condition |
---|---|
InvalidOperationException | Parent and nested view models were the same type. |