5 references to GetLocalizedString
System.Web (5)
ModelBinding\DataAnnotationsModelValidator.cs (2)
26
var errorMsg =
GetLocalizedString
(Attribute.ErrorMessage);
98
return
GetLocalizedString
(errorMessage, Metadata.GetDisplayName());
ModelBinding\RangeAttributeAdapter.cs (1)
10
return
GetLocalizedString
(errorMessage, Metadata.GetDisplayName(), Attribute.Minimum, Attribute.Maximum);
ModelBinding\RegularExpressionAttributeAdapter.cs (1)
10
return
GetLocalizedString
(errorMessage, Metadata.GetDisplayName(), Attribute.Pattern);
ModelBinding\StringLengthAttributeAdapter.cs (1)
10
return
GetLocalizedString
(errorMessage, Metadata.GetDisplayName(), Attribute.MinimumLength, Attribute.MaximumLength);