DataAnnotationsModelValidatorProvider.RegisterDefaultValidatableObjectAdapter(Type) Method

Definition

Registers an adapter to provide default object validation.

public static void RegisterDefaultValidatableObjectAdapter (Type adapterType);
static member RegisterDefaultValidatableObjectAdapter : Type -> unit
Public Shared Sub RegisterDefaultValidatableObjectAdapter (adapterType As Type)

Parameters

adapterType
Type

The type of the adapter.

Applies to