Export (0) Print
Expand All

ParameterBindingExtensions Class

Defines extension methods for HttpParameterBinding.

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

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

public static class ParameterBindingExtensions

The ParameterBindingExtensions type exposes the following members.

  NameDescription
Public methodStatic memberBindAsErrorBinds parameter that results as an error.
Public methodStatic memberBindWithAttributeBind the parameter as if it had the given attribute on the declaration.
Public methodStatic memberBindWithFormatter(HttpParameterDescriptor)Binds parameter by parsing the HTTP body content.
Public methodStatic memberBindWithFormatter(HttpParameterDescriptor, IEnumerable<MediaTypeFormatter>)Binds parameter by parsing the HTTP body content.
Public methodStatic memberBindWithFormatter(HttpParameterDescriptor, MediaTypeFormatter[])Binds parameter by parsing the HTTP body content.
Public methodStatic memberBindWithFormatter(HttpParameterDescriptor, IEnumerable<MediaTypeFormatter>, IBodyModelValidator)Binds parameter by parsing the HTTP body content.
Public methodStatic memberBindWithModelBinding(HttpParameterDescriptor)Binds parameter by parsing the query string.
Public methodStatic memberBindWithModelBinding(HttpParameterDescriptor, IEnumerable<ValueProviderFactory>)Binds parameter by parsing the query string.
Public methodStatic memberBindWithModelBinding(HttpParameterDescriptor, IModelBinder)Binds parameter by parsing the query string.
Public methodStatic memberBindWithModelBinding(HttpParameterDescriptor, ValueProviderFactory[])Binds parameter by parsing the query string.
Public methodStatic memberBindWithModelBinding(HttpParameterDescriptor, IModelBinder, IEnumerable<ValueProviderFactory>)Binds parameter by parsing the query string.
Top

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