ModelBinderAttribute Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ModelBinderAttribute() |
Initializes a new instance of ModelBinderAttribute. |
ModelBinderAttribute(Type) |
Initializes a new instance of ModelBinderAttribute. |
ModelBinderAttribute()
- Source:
- ModelBinderAttribute.cs
- Source:
- ModelBinderAttribute.cs
- Source:
- ModelBinderAttribute.cs
Initializes a new instance of ModelBinderAttribute.
public:
ModelBinderAttribute();
public ModelBinderAttribute ();
Public Sub New ()
Applies to
ModelBinderAttribute(Type)
- Source:
- ModelBinderAttribute.cs
- Source:
- ModelBinderAttribute.cs
- Source:
- ModelBinderAttribute.cs
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
A Type which implements IModelBinder.
Remarks
Subclass this attribute and set BindingSource if Custom is not correct for the specified binderType
.