Show / Hide Table of Contents

Interface IRouterBuilder

Route builder

Namespace: Neutronium.BuildingBlocks.Application.Navigation
Assembly: Neutronium.BuildingBlocks.Application.dll
Syntax
public interface IRouterBuilder

Methods

| Improve this Doc View Source

Register(RouteSpecification, RouteDestination, Boolean)

Associate a viewmodel type to a given route

Declaration
IRouterBuilder Register(RouteSpecification route, RouteDestination routeDestination, bool defaultType = true)
Parameters
Type Name Description
RouteSpecification route
RouteDestination routeDestination
System.Boolean defaultType

True if the type should be considered as default for the corresponding route name

Returns
Type Description
IRouterBuilder

The navigation builder instance

| Improve this Doc View Source

Register(Type, String, Boolean)

Associate a viewmodel type to a given route

Declaration
IRouterBuilder Register(Type type, string routeName, bool defaultType = true)
Parameters
Type Name Description
System.Type type

Type of view model to register

System.String routeName

router name

System.Boolean defaultType

true if the type should be considered as default for the corresponding route name

Returns
Type Description
IRouterBuilder

the router builder instance

| Improve this Doc View Source

Register<T>(String, Boolean)

Associate a viewmodel type to a given route

Declaration
IRouterBuilder Register<T>(string routeName, bool defaultType = true)
Parameters
Type Name Description
System.String routeName

Route name

System.Boolean defaultType

True if the type should be considered as default for the corresponding route name

Returns
Type Description
IRouterBuilder

The navigation builder instance

Type Parameters
Name Description
T

Type of view model to register

Extension Methods

RouterBuilderExtensions.GetTemplateConvention(IRouterBuilder, String, Boolean)
RouterBuilderExtensions.GetTemplateConvention(IRouterBuilder, String, String)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX