Class RouterBuilderExtensions
Provides extensions for IRouterBuilder
Inheritance
System.Object
RouterBuilderExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Neutronium.BuildingBlocks.Application.Navigation
Assembly: Neutronium.BuildingBlocks.Application.dll
Syntax
public static class RouterBuilderExtensions
Methods
| Improve this Doc View SourceGetTemplateConvention(IRouterBuilder, String, Boolean)
Create a convention router for the given router builder
Declaration
public static IExtendedConventionRouter GetTemplateConvention(this IRouterBuilder routerBuilder, string template, bool lowerPath = true)
Parameters
Type | Name | Description |
---|---|---|
IRouterBuilder | routerBuilder | |
System.String | template | |
System.Boolean | lowerPath |
Returns
Type | Description |
---|---|
IExtendedConventionRouter |
GetTemplateConvention(IRouterBuilder, String, String)
Create a convention router for the given router builder
Declaration
public static IExtendedConventionRouter GetTemplateConvention(this IRouterBuilder routerBuilder, string template, string postFix)
Parameters
Type | Name | Description |
---|---|---|
IRouterBuilder | routerBuilder | |
System.String | template | |
System.String | postFix |
Returns
Type | Description |
---|---|
IExtendedConventionRouter |