DataAnnotationsModelValidationFactory Delegate
Represents the method that creates a DataAnnotationsModelValidatorProvider instance.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
public delegate ModelValidator DataAnnotationsModelValidationFactory( ModelMetadata metadata, ControllerContext context, ValidationAttribute attribute )
Parameters
- metadata
- Type: System.Web.Mvc.ModelMetadata
- context
- Type: System.Web.Mvc.ControllerContext
- attribute
- Type: System.ComponentModel.DataAnnotations.ValidationAttribute
Show: