ValidationEntry Constructeurs
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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.
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.