IAttributeAdapter Interfaz

Definición

Interfaz para que los adaptadores proporcionen sus valores pertinentes a los mensajes de error.

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
Derivado
Implementaciones

Métodos

AddValidation(ClientModelValidationContext)

Se llama para agregar validación del modelo del lado cliente.

(Heredado de IClientModelValidator)
GetErrorMessage(ModelValidationContextBase)

Obtiene el mensaje de error.

Se aplica a