Partager via


ValidationEntry Constructeurs

Définition

Surcharges

ValidationEntry(ModelMetadata, String, Func<Object>)

Crée un ValidationEntry.

ValidationEntry(ModelMetadata, String, Object)

Crée un ValidationEntry.

ValidationEntry(ModelMetadata, String, Func<Object>)

Source:
ValidationEntry.cs
Source:
ValidationEntry.cs
Source:
ValidationEntry.cs

Crée un ValidationEntry.

public:
 ValidationEntry(Microsoft::AspNetCore::Mvc::ModelBinding::ModelMetadata ^ metadata, System::String ^ key, Func<System::Object ^> ^ modelAccessor);
public ValidationEntry (Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata metadata, string key, Func<object> modelAccessor);
public ValidationEntry (Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata metadata, string key, Func<object?> modelAccessor);
new Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationEntry : Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata * string * Func<obj> -> Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationEntry
Public Sub New (metadata As ModelMetadata, key As String, modelAccessor As Func(Of Object))

Paramètres

metadata
ModelMetadata

Objet ModelMetadata associé au Model.

key
String

Préfixe de modèle associé à .Model

modelAccessor
Func<Object>

Délégué qui retourne le Model.

S’applique à

ValidationEntry(ModelMetadata, String, Object)

Source:
ValidationEntry.cs
Source:
ValidationEntry.cs
Source:
ValidationEntry.cs

Crée un ValidationEntry.

public:
 ValidationEntry(Microsoft::AspNetCore::Mvc::ModelBinding::ModelMetadata ^ metadata, System::String ^ key, System::Object ^ model);
public ValidationEntry (Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata metadata, string key, object model);
public ValidationEntry (Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata metadata, string key, object? model);
new Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationEntry : Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata * string * obj -> Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationEntry
Public Sub New (metadata As ModelMetadata, key As String, model As Object)

Paramètres

metadata
ModelMetadata

ModelMetadata associé à model.

key
String

Préfixe de modèle associé modelà .

model
Object

Objet du modèle.

S’applique à