1 override of GetValidators
System.Web (1)
ModelBinding\DataAnnotationsModelValidatorProvider.cs (1)
79
protected override IEnumerable<ModelValidator>
GetValidators
(ModelMetadata metadata, ModelBindingExecutionContext context, IEnumerable<Attribute> attributes) {
2 references to GetValidators
System.Web (2)
ModelBinding\AssociatedValidatorProvider.cs (2)
42
return
GetValidators
(metadata, context, property.Attributes.OfType<Attribute>());
46
return
GetValidators
(metadata, context, GetTypeDescriptor(metadata.ModelType).GetAttributes().Cast<Attribute>());