IAttributeAdapter Interface

Définition

Interface afin que les adaptateurs fournissent leurs valeurs pertinentes aux messages d’erreur.

public interface class IAttributeAdapter : Microsoft::AspNetCore::Mvc::ModelBinding::Validation::IClientModelValidator
public interface IAttributeAdapter : Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IClientModelValidator
type IAttributeAdapter = interface
    interface IClientModelValidator
Public Interface IAttributeAdapter
Implements IClientModelValidator
Dérivé
Implémente

Méthodes

AddValidation(ClientModelValidationContext)

Appelé pour ajouter la validation de modèle côté client.

(Hérité de IClientModelValidator)
GetErrorMessage(ModelValidationContextBase)

Obtient le message d'erreur.

S’applique à