Share via


DataAnnotationsModelValidatorProvider.RegisterAdapter(Type, Type) Método

Definición

Registra un adaptador para la validación en el lado 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

Tipo del atributo de validación.

adapterType
Type

Tipo del adaptador.

Se aplica a