Sdílet prostřednictvím


DataAnnotationsModelValidatorProvider.RegisterAdapter(Type, Type) Metoda

Definice

Registruje adaptér pro ověřování na straně klienta.

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)

Parametry

attributeType
Type

Typ ověřovacího atributu.

adapterType
Type

Typ adaptéru

Platí pro