DataAnnotationsModelValidatorProvider.RegisterAdapter(Type, Type) Método

Definição

Regista um adaptador para validação do lado do cliente.

public:
 static void RegisterAdapter(Type ^ attributeType, Type ^ adapterType);
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 do atributo de validação.

adapterType
Type

O tipo do adaptador.

Aplica-se a