Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetValidators Method

AssociatedValidatorProvider.GetValidators Method

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.

  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
Show:
© 2015 Microsoft