ParameterBindingExtensions Class

 

Defines extension methods for HttpParameterBinding.

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

Inheritance Hierarchy

System.Object
  System.Web.Http.Controllers.ParameterBindingExtensions

Syntax

public static class ParameterBindingExtensions
[ExtensionAttribute]
public ref class ParameterBindingExtensions abstract sealed 
[<AbstractClass>]
[<Sealed>]
type ParameterBindingExtensions = class end
<ExtensionAttribute>
Public NotInheritable Class ParameterBindingExtensions

Methods

Name Description
System_CAPS_pubmethodSystem_CAPS_static BindAsError(HttpParameterDescriptor, String)

Binds parameter that results as an error.

System_CAPS_pubmethodSystem_CAPS_static BindWithAttribute(HttpParameterDescriptor, ParameterBindingAttribute)

Bind the parameter as if it had the given attribute on the declaration.

System_CAPS_pubmethodSystem_CAPS_static BindWithFormatter(HttpParameterDescriptor)

Binds parameter by parsing the HTTP body content.

System_CAPS_pubmethodSystem_CAPS_static BindWithFormatter(HttpParameterDescriptor, IEnumerable<MediaTypeFormatter>)

Binds parameter by parsing the HTTP body content.

System_CAPS_pubmethodSystem_CAPS_static BindWithFormatter(HttpParameterDescriptor, IEnumerable<MediaTypeFormatter>, IBodyModelValidator)

Binds parameter by parsing the HTTP body content.

System_CAPS_pubmethodSystem_CAPS_static BindWithFormatter(HttpParameterDescriptor, MediaTypeFormatter[])

Binds parameter by parsing the HTTP body content.

System_CAPS_pubmethodSystem_CAPS_static BindWithModelBinding(HttpParameterDescriptor)

Binds parameter by parsing the query string.

System_CAPS_pubmethodSystem_CAPS_static BindWithModelBinding(HttpParameterDescriptor, IEnumerable<ValueProviderFactory>)

Binds parameter by parsing the query string.

System_CAPS_pubmethodSystem_CAPS_static BindWithModelBinding(HttpParameterDescriptor, IModelBinder)

Binds parameter by parsing the query string.

System_CAPS_pubmethodSystem_CAPS_static BindWithModelBinding(HttpParameterDescriptor, IModelBinder, IEnumerable<ValueProviderFactory>)

Binds parameter by parsing the query string.

System_CAPS_pubmethodSystem_CAPS_static BindWithModelBinding(HttpParameterDescriptor, ValueProviderFactory[])

Binds parameter by parsing the query string.

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.Controllers Namespace

Return to top