ModelBinderAttribute Konstruktory

Definicja

Przeciążenia

ModelBinderAttribute()

Inicjuje nowe wystąpienie klasy ModelBinderAttribute.

ModelBinderAttribute(Type)

Inicjuje nowe wystąpienie klasy ModelBinderAttribute.

ModelBinderAttribute()

Źródło:
ModelBinderAttribute.cs
Źródło:
ModelBinderAttribute.cs

Inicjuje nowe wystąpienie klasy ModelBinderAttribute.

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

Dotyczy

ModelBinderAttribute(Type)

Źródło:
ModelBinderAttribute.cs
Źródło:
ModelBinderAttribute.cs

Inicjuje nowe wystąpienie klasy 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

Element Type , który implementuje IModelBinderelement .

Uwagi

Podklasy tego atrybutu i ustaw, BindingSource jeśli Custom nie jest poprawny dla określonego binderType.

Dotyczy