8 overrides of FormatMessage
System.ComponentModel.Annotations (8)
System\ComponentModel\DataAnnotations\CompareAttribute.cs (1)
36
public override string
FormatMessage
([StringSyntax(StringSyntaxAttribute.CompositeFormat)] string format, string name)
System\ComponentModel\DataAnnotations\FileExtensionsAttribute.cs (1)
51
public override string
FormatMessage
([StringSyntax(StringSyntaxAttribute.CompositeFormat)] string format, string name)
System\ComponentModel\DataAnnotations\LengthAttribute.cs (1)
86
public override string
FormatMessage
([StringSyntax(StringSyntaxAttribute.CompositeFormat)] string format, string name)
System\ComponentModel\DataAnnotations\MaxLengthAttribute.cs (1)
102
public override string
FormatMessage
([StringSyntax(StringSyntaxAttribute.CompositeFormat)] string format, string name)
System\ComponentModel\DataAnnotations\MinLengthAttribute.cs (1)
85
public override string
FormatMessage
([StringSyntax(StringSyntaxAttribute.CompositeFormat)] string format, string name)
System\ComponentModel\DataAnnotations\RangeAttribute.cs (1)
194
public override string
FormatMessage
([StringSyntax(StringSyntaxAttribute.CompositeFormat)] string format, string name)
System\ComponentModel\DataAnnotations\RegularExpressionAttribute.cs (1)
98
public override string
FormatMessage
([StringSyntax(StringSyntaxAttribute.CompositeFormat)] string format, string name)
System\ComponentModel\DataAnnotations\StringLengthAttribute.cs (1)
87
public override string
FormatMessage
([StringSyntax(StringSyntaxAttribute.CompositeFormat)] string format, string name)
4 references to FormatMessage
Microsoft.AspNetCore.Components.Endpoints (1)
Forms\DataAnnotationsLocalizer.cs (1)
65
return attribute.
FormatMessage
(localizedTemplate, displayName);
System.ComponentModel.Annotations (3)
System\ComponentModel\DataAnnotations\ValidationAttribute.cs (3)
341
/// Derived classes that provide additional message arguments should override <see cref="
FormatMessage
" />.
345
/// error message from properties within the current attribute, then calls <see cref="
FormatMessage
" />.
353
FormatMessage
(ErrorMessageString, name);