2 references to GetValidators
System.Web (2)
ModelBinding\ModelMetadata.cs (1)
409
return ModelValidatorProviders.Providers.
GetValidators
(this, context);
ModelBinding\MutableObjectModelBinder.cs (1)
198
ModelValidator requiredValidator = ModelValidatorProviders.Providers.
GetValidators
(propertyMetadata, modelBindingExecutionContext).Where(v => v.IsRequired).FirstOrDefault();