DataAnnotationsModelValidatorProvider.RegisterAdapter(Type, Type) Метод

Определение

Регистрирует адаптер для проверки на стороне клиента.

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)

Параметры

attributeType
Type

Тип атрибута проверки.

adapterType
Type

Тип адаптера.

Применяется к