DataAnnotationsModelValidatorProvider.RegisterDefaultValidatableObjectAdapter Method (Type)

 

Registers an adapter to provide default object validation.

Namespace:   System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

public static void RegisterDefaultValidatableObjectAdapter(
	Type adapterType
)

Parameters

adapterType
Type: System.Type

The type of the adapter.

Return to top
Show: