Share via


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

See Also

FormatterParameterBinding Class
System.Web.Http.ModelBinding Namespace

Return to top