The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
ApiExplorer.GetHttpMethodsSupportedByAction Method (IHttpRoute, HttpActionDescriptor)
Gets a collection of HttpMethods supported by the action. Called when initializing the ApiDescriptions.
Assembly: System.Web.Http (in System.Web.Http.dll)
public virtual Collection<HttpMethod> GetHttpMethodsSupportedByAction( IHttpRoute route, HttpActionDescriptor actionDescriptor )
Parameters
- route
-
Type:
System.Web.Http.Routing.IHttpRoute
The route.
- actionDescriptor
-
Type:
System.Web.Http.Controllers.HttpActionDescriptor
The action descriptor.
Return Value
Type: System.Collections.ObjectModel.Collection<HttpMethod>A collection of HttpMethods supported by the action.
Show: