Export (0) Print
Expand All

IDirectRouteBuilder Interface

Defines a builder that creates direct routes to actions (attribute routes).

Namespace:  System.Web.Mvc.Routing
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

public interface IDirectRouteBuilder

The IDirectRouteBuilder type exposes the following members.

Public propertyActionsGets the action descriptors to which to create a route.
Public propertyConstraintsGets or sets the route constraints.
Public propertyDataTokensGets or sets the route data tokens.
Public propertyDefaultsGets or sets the route defaults.
Public propertyNameGets or sets the route name.
Public propertyOrderGets or sets the route order.
Public propertyPrecedenceGets or sets the route precedence.
Public propertyTargetIsActionGets a value indicating whether the route is configured at the action or controller level.
Public propertyTemplateGets or sets the route template.

Public methodBuildCreates a route entry based on the current property values.
© 2015 Microsoft