Sdílet prostřednictvím


ModelStateDictionary Konstruktory

Definice

Přetížení

ModelStateDictionary()

Inicializuje novou instanci ModelStateDictionary třídy.

ModelStateDictionary(ModelStateDictionary)

Inicializuje novou instanci ModelStateDictionary třídy pomocí hodnot, které jsou zkopírovány ze zadané dictionary.

ModelStateDictionary(Int32)

Inicializuje novou instanci ModelStateDictionary třídy.

ModelStateDictionary()

Zdroj:
ModelStateDictionary.cs
Zdroj:
ModelStateDictionary.cs
Zdroj:
ModelStateDictionary.cs

Inicializuje novou instanci ModelStateDictionary třídy.

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

Platí pro

ModelStateDictionary(ModelStateDictionary)

Zdroj:
ModelStateDictionary.cs
Zdroj:
ModelStateDictionary.cs
Zdroj:
ModelStateDictionary.cs

Inicializuje novou instanci ModelStateDictionary třídy pomocí hodnot, které jsou zkopírovány ze zadané dictionary.

public:
 ModelStateDictionary(Microsoft::AspNetCore::Mvc::ModelBinding::ModelStateDictionary ^ dictionary);
public ModelStateDictionary (Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary dictionary);
new Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary : Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary -> Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary
Public Sub New (dictionary As ModelStateDictionary)

Parametry

dictionary
ModelStateDictionary

Hodnota ModelStateDictionary , ze které chcete kopírovat hodnoty.

Platí pro

ModelStateDictionary(Int32)

Zdroj:
ModelStateDictionary.cs
Zdroj:
ModelStateDictionary.cs
Zdroj:
ModelStateDictionary.cs

Inicializuje novou instanci ModelStateDictionary třídy.

public:
 ModelStateDictionary(int maxAllowedErrors);
public ModelStateDictionary (int maxAllowedErrors);
new Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary : int -> Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary
Public Sub New (maxAllowedErrors As Integer)

Parametry

maxAllowedErrors
Int32

Platí pro