ModelBinderAttribute ModelBinderAttribute ModelBinderAttribute ModelBinderAttribute Constructors

Definition

Overloads

ModelBinderAttribute() ModelBinderAttribute() ModelBinderAttribute()

Initializes a new instance of ModelBinderAttribute.

ModelBinderAttribute(Type) ModelBinderAttribute(Type) ModelBinderAttribute(Type) ModelBinderAttribute(Type)

Initializes a new instance of ModelBinderAttribute.

ModelBinderAttribute() ModelBinderAttribute() ModelBinderAttribute()

Initializes a new instance of ModelBinderAttribute.

public:
 ModelBinderAttribute();
public ModelBinderAttribute ();
Public Sub New ()

ModelBinderAttribute(Type) ModelBinderAttribute(Type) ModelBinderAttribute(Type) ModelBinderAttribute(Type)

Initializes a new instance of ModelBinderAttribute.

public:
 ModelBinderAttribute(Type ^ binderType);
public ModelBinderAttribute (Type binderType);
new Microsoft.AspNetCore.Mvc.ModelBinderAttribute : Type -> Microsoft.AspNetCore.Mvc.ModelBinderAttribute
Public Sub New (binderType As Type)

Parameters

binderType
Type Type Type Type

A Type which implements IModelBinder.

Remarks

Subclass this attribute and set BindingSource if Custom is not correct for the specified binderType.

Applies to