DataAnnotationsModelValidationFactory Delegate
Collapse the table of content
Expand the table of content

DataAnnotationsModelValidationFactory Delegate

.NET Framework 4.6 and 4.5

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
© 2015 Microsoft