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