TreeRouteBuilder Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Builder for TreeRouter instances.
public ref class TreeRouteBuilder
public class TreeRouteBuilder
type TreeRouteBuilder = class
Public Class TreeRouteBuilder
- Inheritance
-
TreeRouteBuilder
Constructors
TreeRouteBuilder(ILoggerFactory, ObjectPool<UriBuildingContext>, IInlineConstraintResolver) |
Initializes a new instance of TreeRouteBuilder. |
TreeRouteBuilder(ILoggerFactory, UrlEncoder, ObjectPool<UriBuildingContext>, IInlineConstraintResolver) |
Obsolete.
This constructor is obsolete and will be removed in a future version. The recommended alternative is the overload that does not take a UrlEncoder. Initializes a new instance of TreeRouteBuilder. |
Properties
InboundEntries |
Gets the list of InboundRouteEntry. |
OutboundEntries |
Gets the list of OutboundRouteEntry. |
Methods
Build() |
Builds a TreeRouter with the InboundEntries and OutboundEntries defined in this TreeRouteBuilder. |
Build(Int32) |
Builds a TreeRouter with the InboundEntries and OutboundEntries defined in this TreeRouteBuilder. |
Clear() |
Removes all InboundEntries and OutboundEntries from this TreeRouteBuilder. |
MapInbound(IRouter, RouteTemplate, String, Int32) |
Adds a new inbound route to the TreeRouter. |
MapOutbound(IRouter, RouteTemplate, RouteValueDictionary, String, Int32) |
Adds a new outbound route to the TreeRouter. |