FormatterParameterBinding Constructor (HttpParameterDescriptor, IEnumerable<MediaTypeFormatter>, IBodyModelValidator)
Initializes a new instance of the FormatterParameterBinding class.
Namespace: System.Web.Http.ModelBinding
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
public FormatterParameterBinding(
HttpParameterDescriptor descriptor,
IEnumerable<MediaTypeFormatter> formatters,
IBodyModelValidator bodyModelValidator
)
public:
FormatterParameterBinding(
HttpParameterDescriptor^ descriptor,
IEnumerable<MediaTypeFormatter^>^ formatters,
IBodyModelValidator^ bodyModelValidator
)
new :
descriptor:HttpParameterDescriptor *
formatters:IEnumerable<MediaTypeFormatter> *
bodyModelValidator:IBodyModelValidator -> FormatterParameterBinding
Public Sub New (
descriptor As HttpParameterDescriptor,
formatters As IEnumerable(Of MediaTypeFormatter),
bodyModelValidator As IBodyModelValidator
)
Parameters
descriptor
Type: System.Web.Http.Controllers.HttpParameterDescriptorThe descriptor.
formatters
Type: System.Collections.Generic.IEnumerable<MediaTypeFormatter>The formatter.
bodyModelValidator
Type: System.Web.Http.Validation.IBodyModelValidatorThe body model validator.
See Also
FormatterParameterBinding Class
System.Web.Http.ModelBinding Namespace
Return to top