Partilhar via


DataAnnotationsValidatableObjectAdapterFactory Delegar

Definição

Fornece uma fábrica para validadores baseados em IValidatableObject.

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

Parâmetros

metadata
ModelMetadata

Valor Retornado

Aplica-se a