Condividi tramite


IModelValidator.Validate(ModelValidationContext) Metodo

Definizione

Convalida il valore del modello.

public:
 System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Mvc::ModelBinding::Validation::ModelValidationResult ^> ^ Validate(Microsoft::AspNetCore::Mvc::ModelBinding::Validation::ModelValidationContext ^ context);
public System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ModelValidationResult> Validate (Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ModelValidationContext context);
abstract member Validate : Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ModelValidationContext -> seq<Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ModelValidationResult>
Public Function Validate (context As ModelValidationContext) As IEnumerable(Of ModelValidationResult)

Parametri

Restituisce

Elenco di ModelValidationResult che indica i risultati della convalida del valore del modello.

Si applica a