RouteBuilder Class

Definition

Caution

Obsolete, do not use. To create custom Routes with attribute routing, use System.Web.Mvc.Routing.RouteFactoryAttribute

Builds Route instances based on route information.

[System.Obsolete("Obsolete, do not use. To create custom Routes with attribute routing, use System.Web.Mvc.Routing.RouteFactoryAttribute")]
public class RouteBuilder
type RouteBuilder = class
Public Class RouteBuilder
Inheritance
RouteBuilder
Attributes

Constructors

RouteBuilder()

Initializes a new instance of the RouteBuilder class using the default inline constraint resolver.

RouteBuilder(IInlineConstraintResolver)

Initializes a new instance of the RouteBuilder class.

Properties

ConstraintResolver

Gets the resolver for resolving inline constraints.

Methods

BuildDirectRoute(RouteValueDictionary, RouteValueDictionary, RouteValueDictionary, String, MethodInfo)

Builds an Route.

BuildDirectRoute(String, ControllerDescriptor)

Builds an Route for a particular action.

BuildDirectRoute(String, IEnumerable<String>, String, String, MethodInfo, String)

Builds an Route for a particular action.

Applies to