Condividi tramite


IValidationStrategy.GetChildren(ModelMetadata, String, Object) Metodo

Definizione

Ottiene un oggetto IEnumerator<T> contenente un ValidationEntry oggetto per ogni voce figlio dell'oggetto modello da convalidare.

public:
 System::Collections::Generic::IEnumerator<Microsoft::AspNetCore::Mvc::ModelBinding::Validation::ValidationEntry> ^ GetChildren(Microsoft::AspNetCore::Mvc::ModelBinding::ModelMetadata ^ metadata, System::String ^ key, System::Object ^ model);
public System.Collections.Generic.IEnumerator<Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationEntry> GetChildren (Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata metadata, string key, object model);
abstract member GetChildren : Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata * string * obj -> System.Collections.Generic.IEnumerator<Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationEntry>
Public Function GetChildren (metadata As ModelMetadata, key As String, model As Object) As IEnumerator(Of ValidationEntry)

Parametri

metadata
ModelMetadata

Elemento ModelMetadata associato a model.

key
String

Prefisso del modello associato a model.

model
Object

Oggetto del modello.

Restituisce

Oggetto IEnumerator<T>.

Si applica a