Szerkesztés

Megosztás a következőn keresztül:


DataAnnotationsModelValidatorProvider.RegisterDefaultValidatableObjectAdapterFactory Method

Definition

Registers an adapter factory for the default object validation provider.

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)

Parameters

Exceptions

factory is null.

Applies to