Share via


HttpRouteCollectionExtensions Class

 

Provides extension methods for the HttpRouteCollection class.

Namespace:   System.Web.Http.OData.Extensions
Assembly:  System.Web.Http.OData (in System.Web.Http.OData.dll)

Inheritance Hierarchy

System.Object
  System.Web.Http.OData.Extensions.HttpRouteCollectionExtensions

Syntax

[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public static class HttpRouteCollectionExtensions
[ExtensionAttribute]
[EditorBrowsableAttribute(EditorBrowsableState::Never)]
public ref class HttpRouteCollectionExtensions abstract sealed 
[<AbstractClass>]
[<Sealed>]
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
type HttpRouteCollectionExtensions = class end
<ExtensionAttribute>
<EditorBrowsableAttribute(EditorBrowsableState.Never)>
Public NotInheritable Class HttpRouteCollectionExtensions

Methods

Name Description
System_CAPS_pubmethodSystem_CAPS_static MapODataServiceRoute(HttpRouteCollection, String, String, IEdmModel)

Maps the specified OData route.

System_CAPS_pubmethodSystem_CAPS_static MapODataServiceRoute(HttpRouteCollection, String, String, IEdmModel, IODataPathHandler, IEnumerable<IODataRoutingConvention>)

Maps the specified OData route.

System_CAPS_pubmethodSystem_CAPS_static MapODataServiceRoute(HttpRouteCollection, String, String, IEdmModel, IODataPathHandler, IEnumerable<IODataRoutingConvention>, ODataBatchHandler)

Maps the specified OData route. When the batchHandler is provided, it will create a '$batch' endpoint to handle the batch requests.

System_CAPS_pubmethodSystem_CAPS_static MapODataServiceRoute(HttpRouteCollection, String, String, IEdmModel, ODataBatchHandler)

Maps the specified OData route. When the batchHandler is provided, it will create a '$batch' endpoint to handle the batch requests.

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.Http.OData.Extensions Namespace

Return to top