DataAnnotationsModelValidatorProvider.RegisterAdapter(Type, Type) Método

Definição

Registra um adaptador para fornecer a validação do lado do cliente.

public static void RegisterAdapter (Type attributeType, Type adapterType);
static member RegisterAdapter : Type * Type -> unit
Public Shared Sub RegisterAdapter (attributeType As Type, adapterType As Type)

Parâmetros

attributeType
Type

O tipo de atributo de validação.

adapterType
Type

O tipo de adaptador.

Aplica-se a