Compartir a través de


DataAnnotationsModelValidatorProvider.RegisterDefaultValidatableObjectAdapterFactory Método

Definición

Registra un generador del adaptador para el proveedor de validación del objeto predeterminado.

public:
 static void RegisterDefaultValidatableObjectAdapterFactory(System::Web::ModelBinding::DataAnnotationsValidatableObjectAdapterFactory ^ factory);
public static void RegisterDefaultValidatableObjectAdapterFactory (System.Web.ModelBinding.DataAnnotationsValidatableObjectAdapterFactory factory);
static member RegisterDefaultValidatableObjectAdapterFactory : System.Web.ModelBinding.DataAnnotationsValidatableObjectAdapterFactory -> unit
Public Shared Sub RegisterDefaultValidatableObjectAdapterFactory (factory As DataAnnotationsValidatableObjectAdapterFactory)

Parámetros

Excepciones

factory es null.

Se aplica a