IDirectRouteBuilder Interface
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.
Defines a builder that creates direct routes to actions (attribute routes).
public interface IDirectRouteBuilder
type IDirectRouteBuilder = interface
Public Interface IDirectRouteBuilder
Properties
Actions |
Gets the action descriptors to which to create a route. |
Constraints |
Gets or sets the route constraints. |
DataTokens |
Gets or sets the route data tokens. |
Defaults |
Gets or sets the route defaults. |
Name |
Gets or sets the route name. |
Order |
Gets or sets the route order. |
Precedence |
Gets or sets the route precedence. |
TargetIsAction |
Gets a value indicating whether the route is configured at the action or controller level. |
Template |
Gets or sets the route template. |
Methods
Build() |
Creates a route entry based on the current property values. |