Interface IRouterSolver
Routing configuration associating viewModels and route
Namespace: Neutronium.BuildingBlocks.Application.Navigation
Assembly: Neutronium.BuildingBlocks.Application.dll
Syntax
public interface IRouterSolver
Methods
| Improve this Doc View SourceSolveRoute(Object)
Find route associated with the viewModel
Declaration
string SolveRoute(object viewModel)
Parameters
Type | Name | Description |
---|---|---|
System.Object | viewModel |
Returns
Type | Description |
---|---|
System.String | The corresponding route |
SolveRoute<T>()
Find route associated with the provided type
Declaration
string SolveRoute<T>()
Returns
Type | Description |
---|---|
System.String | The corresponding route |
Type Parameters
Name | Description |
---|---|
T |
SolveType(RouteSpecification)
Find the viewModel type associated with the corresponding route
Declaration
RouteDestination SolveType(RouteSpecification route)
Parameters
Type | Name | Description |
---|---|---|
RouteSpecification | route | Route specification |
Returns
Type | Description |
---|---|
RouteDestination | The corresponding route destination |
SolveType(String, String)
Find the viewModel type associated with the corresponding route in the given context
Declaration
RouteDestination SolveType(string route, string context = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | route | |
System.String | context | null if root context |
Returns
Type | Description |
---|---|
RouteDestination | The corresponding route destination |