DataAnnotationsModelValidationFactory Delegate

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Represents the method that creates a DataAnnotationsModelValidatorProvider instance.

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

public delegate ModelValidator DataAnnotationsModelValidationFactory(
	ModelMetadata metadata,
	ModelBindingExecutionContext context,
	ValidationAttribute attribute

.NET Framework
Available since 4.5
Return to top