DataAnnotationsValidatableObjectAdapterFactory DataAnnotationsValidatableObjectAdapterFactory DataAnnotationsValidatableObjectAdapterFactory Delegate

Definition

Provides a factory for validators that are based on IValidatableObject.

public delegate System.Web.Mvc.ModelValidator DataAnnotationsValidatableObjectAdapterFactory(ModelMetadata metadata, ControllerContext context);
type DataAnnotationsValidatableObjectAdapterFactory = delegate of ModelMetadata * ControllerContext -> ModelValidator
Public Delegate Function DataAnnotationsValidatableObjectAdapterFactory(metadata As ModelMetadata, context As ControllerContext) As ModelValidator 

Parameters

Return Value

System.Web.Mvc.ModelValidator
Inheritance
DataAnnotationsValidatableObjectAdapterFactoryDataAnnotationsValidatableObjectAdapterFactoryDataAnnotationsValidatableObjectAdapterFactory

Applies to