12 references to ErrorMessageString
System.ComponentModel.DataAnnotations (11)
DataAnnotations\CompareAttribute.cs (1)
29
return String.Format(CultureInfo.CurrentCulture,
ErrorMessageString
, name, OtherPropertyDisplayName ?? OtherProperty);
DataAnnotations\FileExtensionsAttribute.cs (1)
54
return String.Format(CultureInfo.CurrentCulture,
ErrorMessageString
, name, ExtensionsFormatted);
DataAnnotations\MaxLengthAttribute.cs (1)
84
return string.Format(CultureInfo.CurrentCulture,
ErrorMessageString
, name, Length);
DataAnnotations\MinLengthAttribute.cs (1)
69
return string.Format(CultureInfo.CurrentCulture,
ErrorMessageString
, name, Length);
DataAnnotations\RangeAttribute.cs (1)
132
return String.Format(CultureInfo.CurrentCulture,
ErrorMessageString
, name, this.Minimum, this.Maximum);
DataAnnotations\RegularExpressionAttribute.cs (1)
88
return String.Format(CultureInfo.CurrentCulture,
ErrorMessageString
, name, this.Pattern);
DataAnnotations\StringLengthAttribute.cs (1)
72
DataAnnotationsResources.StringLengthAttribute_ValidationErrorIncludingMinimum : this.
ErrorMessageString
;
DataAnnotations\ValidationAttribute.cs (4)
46
/// <param name="errorMessage">A non-localized error message to use in <see cref="
ErrorMessageString
"/>.</param>
52
/// Allows for providing a resource accessor function that will be used by the <see cref="
ErrorMessageString
"/>
289
/// The base class implementation will use <see cref="
ErrorMessageString
"/> to obtain a localized
298
return String.Format(CultureInfo.CurrentCulture, this.
ErrorMessageString
, name);
System.Web (1)
Security\MembershipPasswordAttribute.cs (1)
213
return FormatErrorMessage(errorMessageString:
ErrorMessageString
, name: name, additionalArgument: String.Empty);