Class ConcreteRouteExtensions
Provides extension methods for composing concrete route parts into multi-level routes.
Namespace: Singulink.UI.Navigation
Assembly: Singulink.UI.Navigation.dll
Syntax
public static class ConcreteRouteExtensions
Methods
| Name | Description |
|---|---|
| Then<TRootViewModel>(IConcreteRootRoutePart<TRootViewModel>, IConcreteChildRoutePart<TRootViewModel>) | Returns a route made up of the specified root route part followed by the specified child route part. The child's view model type is not known statically, so the returned route cannot be extended further. |
| Then<TParentViewModel, TFirstChildViewModel>(IConcreteChildRoutePart<TParentViewModel, TFirstChildViewModel>, IConcreteChildRoutePart<TFirstChildViewModel>) | Returns a partial route made up of the specified child route part followed by the specified grandchild route part. The grandchild's view model type is not known statically, so the returned partial route cannot be extended further. |
| Then<TRootViewModel, TChildViewModel>(IConcreteRootRoutePart<TRootViewModel>, IConcreteChildRoutePart<TRootViewModel, TChildViewModel>) | Returns a route made up of the specified root route part followed by the specified child route part. Chain further levels with Then<TChildViewModel>(IConcreteChildRoutePart<TLeafViewModel, TChildViewModel>). |
| Then<TParentViewModel, TFirstChildViewModel, TChildViewModel>(IConcreteChildRoutePart<TParentViewModel, TFirstChildViewModel>, IConcreteChildRoutePart<TFirstChildViewModel, TChildViewModel>) | Returns a partial route made up of the specified child route part followed by the specified grandchild route part, for use with partial
navigation beneath a parent of type |