Sdílet prostřednictvím


DataAnnotationsModelValidatorProvider.RegisterAdapter(Type, Type) Metoda

Definice

Zaregistruje adaptér za účelem ověření na straně klienta.

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