Show / Hide Table of Contents

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 Source

SolveRoute(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

| Improve this Doc View Source

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
| Improve this Doc View Source

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

| Improve this Doc View Source

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

  • Improve this Doc
  • View Source
Back to top Generated by DocFX