RouteBuilder Class
Note: This API is now obsolete.
Builds Route instances based on route information.
Namespace: System.Web.Mvc.Routing
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Inheritance Hierarchy
System.Object
System.Web.Mvc.Routing.RouteBuilder
Syntax
[ObsoleteAttribute("Obsolete, do not use. To create custom Routes with attribute routing, use System.Web.Mvc.Routing.RouteFactoryAttribute")]
public class RouteBuilder
[ObsoleteAttribute("Obsolete, do not use. To create custom Routes with attribute routing, use System.Web.Mvc.Routing.RouteFactoryAttribute")]
public ref class RouteBuilder
[<ObsoleteAttribute("Obsolete, do not use. To create custom Routes with attribute routing, use System.Web.Mvc.Routing.RouteFactoryAttribute")>]
type RouteBuilder = class end
<ObsoleteAttribute("Obsolete, do not use. To create custom Routes with attribute routing, use System.Web.Mvc.Routing.RouteFactoryAttribute")>
Public Class RouteBuilder
Constructors
Name | Description | |
---|---|---|
![]() |
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
Name | Description | |
---|---|---|
![]() |
ConstraintResolver | Gets the resolver for resolving inline constraints. |
Methods
Name | Description | |
---|---|---|
![]() |
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. |
![]() |
Equals(Object) | (Inherited from Object.) |
![]() |
Finalize() | (Inherited from Object.) |
![]() |
GetHashCode() | (Inherited from Object.) |
![]() |
GetType() | (Inherited from Object.) |
![]() |
MemberwiseClone() | (Inherited from Object.) |
![]() |
ToString() | (Inherited from Object.) |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
System.Web.Mvc.Routing Namespace
Return to top