DataAnnotationsModelValidatorProvider.RegisterAdapter(Type, Type) Metódus

Definíció

Regisztrál egy adaptert az ügyféloldali ellenőrzéshez.

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)

Paraméterek

attributeType
Type

Az érvényesítési attribútum típusa.

adapterType
Type

Az adapter típusa.

A következőre érvényes: