IAttributeAdapter IAttributeAdapter IAttributeAdapter Interface

Definition

Interface so that adapters provide their relevant values to error messages.

public interface IAttributeAdapter : Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IClientModelValidator
type IAttributeAdapter = interface
    interface IClientModelValidator
Public Interface IAttributeAdapter
Implements IClientModelValidator
Derived
Implements

Methods

AddValidation(ClientModelValidationContext) AddValidation(ClientModelValidationContext) AddValidation(ClientModelValidationContext) Inherited from IClientModelValidator
GetErrorMessage(ModelValidationContextBase) GetErrorMessage(ModelValidationContextBase) GetErrorMessage(ModelValidationContextBase)

Gets the error message.

Applies to