Share via


ModelBinderAttribute Konstruktory

Definice

Přetížení

ModelBinderAttribute()

Inicializuje novou instanci .ModelBinderAttribute

ModelBinderAttribute(Type)

Inicializuje novou instanci .ModelBinderAttribute

ModelBinderAttribute()

Zdroj:
ModelBinderAttribute.cs
Zdroj:
ModelBinderAttribute.cs

Inicializuje novou instanci .ModelBinderAttribute

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

Platí pro

ModelBinderAttribute(Type)

Zdroj:
ModelBinderAttribute.cs
Zdroj:
ModelBinderAttribute.cs

Inicializuje novou instanci .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)

Parametry

binderType
Type

A Type , která implementuje IModelBinder.

Poznámky

Podtřídu tento atribut a nastavit BindingSource , pokud Custom není správná pro zadaný binderTypeatribut .

Platí pro