Compartilhar via


DataAnnotationsModelValidatorProvider.GetValidators Method

Include Protected Members
Include Inherited Members

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method GetValidators(ModelMetadata, IEnumerable<ModelValidatorProvider>) Gets the validators for the model using the metadata and validator providers. (Inherited from AssociatedValidatorProvider.)
Protected method GetValidators(ModelMetadata, IEnumerable<ModelValidatorProvider>, IEnumerable<Attribute>) Gets the validators for the model using the specified metadata, validator provider and attributes. (Overrides AssociatedValidatorProvider.GetValidators(ModelMetadata, IEnumerable<ModelValidatorProvider>, IEnumerable<Attribute>).)

Top

See Also

Reference

DataAnnotationsModelValidatorProvider Class

System.Web.Http.Validation.Providers Namespace