Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Contains extension methods for HttpActionContext.
Inheritance Hierarchy
System.Object
System.Web.Http.Controllers.HttpActionContextExtensions
Namespace: System.Web.Http.Controllers
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public NotInheritable Class HttpActionContextExtensions
'Usage
public static class HttpActionContextExtensions
[ExtensionAttribute]
public ref class HttpActionContextExtensions abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type HttpActionContextExtensions = class end
public final class HttpActionContextExtensions
The HttpActionContextExtensions type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() ![]() |
Bind(HttpActionContext, ModelBindingContext) | Binds the model to a value by using the specified controller context and binding context. |
![]() ![]() |
Bind(HttpActionContext, ModelBindingContext, IEnumerable<IModelBinder>) | Binds the model to a value by using the specified controller context, binding context, and model binders. |
![]() ![]() |
GetMetadataProvider | Retrieves the ModelMetadataProvider instance for a given HttpActionContext. |
![]() ![]() |
GetValidatorProviders | Retrieves the collection of registered ModelValidatorProvider instances. |
![]() ![]() |
GetValidators | Retrieves the collection of registered ModelValidator instances. |
![]() ![]() |
TryBindStrongModel<TModel> | Binds the model to the property by using the specified execution context and binding context. |
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.