Compartir a través de


ValidationEntry Constructores

Definición

Sobrecargas

ValidationEntry(ModelMetadata, String, Func<Object>)

Crea un nuevo ValidationEntry.

ValidationEntry(ModelMetadata, String, Object)

Crea un nuevo ValidationEntry.

ValidationEntry(ModelMetadata, String, Func<Object>)

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

Crea un nuevo 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))

Parámetros

metadata
ModelMetadata

Objeto ModelMetadata asociado a Model.

key
String

Prefijo del modelo asociado a Model.

modelAccessor
Func<Object>

Delegado que devolverá .Model

Se aplica a

ValidationEntry(ModelMetadata, String, Object)

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

Crea un nuevo 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)

Parámetros

metadata
ModelMetadata

ModelMetadata asociado a model.

key
String

Prefijo del modelo asociado a model.

model
Object

Objeto del modelo.

Se aplica a