DataAnnotationsModelValidationFactory Delegate
Visual Studio 2010
Represents the method that creates a DataAnnotationsModelValidatorProvider instance.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
'Declaration Public Delegate Function DataAnnotationsModelValidationFactory ( _ metadata As ModelMetadata, _ context As ControllerContext, _ attribute As ValidationAttribute _ ) As ModelValidator
Parameters
- metadata
- Type: System.Web.Mvc.ModelMetadata
- context
- Type: System.Web.Mvc.ControllerContext
- attribute
- Type: System.ComponentModel.DataAnnotations.ValidationAttribute
Community Additions
ADD
Show: