RouteCollectionExtensions Class
Extension methods for RouteCollection
Inheritance Hierarchy
System.Object
System.Web.Http.RouteCollectionExtensions
Namespace: System.Web.Http
Assembly: System.Web.Http.WebHost (in System.Web.Http.WebHost.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public NotInheritable Class RouteCollectionExtensions
'Usage
public static class RouteCollectionExtensions
[ExtensionAttribute]
public ref class RouteCollectionExtensions abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type RouteCollectionExtensions = class end
public final class RouteCollectionExtensions
Methods
Name | Description | |
---|---|---|
MapHttpRoute(RouteCollection, String, String) | Maps the specified route template. | |
MapHttpRoute(RouteCollection, String, String, Object) | Maps the specified route template and sets default route. | |
MapHttpRoute(RouteCollection, String, String, Object, Object) | Maps the specified route template and sets default route values and constraints. | |
MapHttpRoute(RouteCollection, String, String, Object, Object, HttpMessageHandler) | Maps the specified route template and sets default route values, constraints, and end-point message handler. |
Top
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.