Method Then
Then<TChildViewModel>(IConcreteChildRoutePart<TLeafViewModel, TChildViewModel>)
Returns a new route with the specified child route part appended to this route.
Declaration
public ConcreteRoute<TChildViewModel> Then<TChildViewModel>(IConcreteChildRoutePart<TLeafViewModel, TChildViewModel> childRoutePart) where TChildViewModel : class
Parameters
| Type | Name | Description |
|---|---|---|
| IConcreteChildRoutePart<TLeafViewModel, TChildViewModel> | childRoutePart | A concrete child route part whose parent view model type is this route's leaf view model type. |
Returns
| Type | Description |
|---|---|
| ConcreteRoute<TChildViewModel> |
Type Parameters
| Name | Description |
|---|---|
| TChildViewModel | The view model type of the child route part. |
Then(IConcreteChildRoutePart<TLeafViewModel>)
Returns a new route with the specified child route part appended to this route. The child's view model type is not known statically, so the returned route cannot be extended further.
Declaration
public ConcreteRoute Then(IConcreteChildRoutePart<TLeafViewModel> childRoutePart)
Parameters
| Type | Name | Description |
|---|---|---|
| IConcreteChildRoutePart<TLeafViewModel> | childRoutePart | A concrete child route part whose parent view model type is this route's leaf view model type. |
Returns
| Type | Description |
|---|---|
| ConcreteRoute |