Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

HttpActionContextExtensions Class

Contains extension methods for HttpActionContext.


Namespace:  System.Web.Http.Controllers
Assembly:  System.Web.Http (in System.Web.Http.dll)

type HttpActionContextExtensions =  class end

The HttpActionContextExtensions type exposes the following members.

Public methodStatic memberBind(HttpActionContext, ModelBindingContext)Binds the model to a value by using the specified controller context and binding context.
Public methodStatic memberBind(HttpActionContext, ModelBindingContext, IEnumerable(IModelBinder))Binds the model to a value by using the specified controller context, binding context, and model binders.
Public methodStatic memberGetMetadataProviderRetrieves the ModelMetadataProvider instance for a given HttpActionContext.
Public methodStatic memberGetValidatorProvidersRetrieves the collection of registered ModelValidatorProvider instances.
Public methodStatic memberGetValidatorsRetrieves the collection of registered ModelValidator instances.
Public methodStatic memberTryBindStrongModel(TModel)Binds the model to the property by using the specified execution context and binding context.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2015 Microsoft