Share 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, ControllerContext) Gets the validators for the model using the metadata and controller context. (Inherited from AssociatedValidatorProvider.)
Protected method GetValidators(ModelMetadata, ControllerContext, IEnumerable<Attribute>) Gets a list of validators. (Overrides AssociatedValidatorProvider.GetValidators(ModelMetadata, ControllerContext, IEnumerable<Attribute>).)

Top

See Also

Reference

DataAnnotationsModelValidatorProvider Class

System.Web.Mvc Namespace