DataAnnotationsModelValidatorProvider.RegisterDefaultAdapterFactory Method (DataAnnotationsModelValidationFactory)
.NET Framework (current version)
Registers the default adapter factory.
Assembly: System.Web (in System.Web.dll)
Public Shared Sub RegisterDefaultAdapterFactory ( factory As DataAnnotationsModelValidationFactory )
Parameters
- factory
-
Type:
System.Web.ModelBinding.DataAnnotationsModelValidationFactory
The factory that will be used to create the validator object for the default adapter.
.NET Framework
Available since 4.5
Available since 4.5
Show: