DataAnnotationsModelValidationFactory Delegar

Definição

Representa o método que cria uma instância DataAnnotationsModelValidatorProvider.

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

Parâmetros

metadata
ModelMetadata

Valor Retornado

Aplica-se a