IDirectRouteBuilder Interface
Defines a builder that creates direct routes to actions (attribute routes).
Namespace: System.Web.Http.Routing
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
public interface IDirectRouteBuilder
public interface class IDirectRouteBuilder
type IDirectRouteBuilder = interface end
Public Interface IDirectRouteBuilder
Properties
Name | Description | |
---|---|---|
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, if any; otherwise null. |
|
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
Name | Description | |
---|---|---|
Build() | Creates a route entry based on the current property values. |
See Also
System.Web.Http.Routing Namespace
Return to top