Share via


AssociatedValidatorProvider.GetValidators Method

Include Protected Members
Include Inherited Members

Gets the validators for the model.

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

Top

See Also

Reference

AssociatedValidatorProvider Class

System.Web.Mvc Namespace