Dela via


IAttributeAdapter Interface

Definition

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

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
Derived
Implements

Methods

AddValidation(ClientModelValidationContext)

Called to add client-side model validation.

(Inherited from IClientModelValidator)
GetErrorMessage(ModelValidationContextBase)

Gets the error message.

Applies to