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
System_CAPS_pubproperty Actions

Gets the action descriptors to which to create a route.

System_CAPS_pubproperty Constraints

Gets or sets the route constraints.

System_CAPS_pubproperty DataTokens

Gets or sets the route data tokens.

System_CAPS_pubproperty Defaults

Gets or sets the route defaults.

System_CAPS_pubproperty Name

Gets or sets the route name, if any; otherwise null.

System_CAPS_pubproperty Order

Gets or sets the route order.

System_CAPS_pubproperty Precedence

Gets or sets the route precedence.

System_CAPS_pubproperty TargetIsAction

Gets a value indicating whether the route is configured at the action or controller level.

System_CAPS_pubproperty Template

Gets or sets the route template.

Methods

Name Description
System_CAPS_pubmethod Build()

Creates a route entry based on the current property values.

See Also

System.Web.Http.Routing Namespace

Return to top