8 overrides of FormatMessage
System.ComponentModel.Annotations (8)
System\ComponentModel\DataAnnotations\CompareAttribute.cs (1)
36public override string FormatMessage([StringSyntax(StringSyntaxAttribute.CompositeFormat)] string format, string name)
System\ComponentModel\DataAnnotations\FileExtensionsAttribute.cs (1)
51public override string FormatMessage([StringSyntax(StringSyntaxAttribute.CompositeFormat)] string format, string name)
System\ComponentModel\DataAnnotations\LengthAttribute.cs (1)
86public override string FormatMessage([StringSyntax(StringSyntaxAttribute.CompositeFormat)] string format, string name)
System\ComponentModel\DataAnnotations\MaxLengthAttribute.cs (1)
102public override string FormatMessage([StringSyntax(StringSyntaxAttribute.CompositeFormat)] string format, string name)
System\ComponentModel\DataAnnotations\MinLengthAttribute.cs (1)
85public override string FormatMessage([StringSyntax(StringSyntaxAttribute.CompositeFormat)] string format, string name)
System\ComponentModel\DataAnnotations\RangeAttribute.cs (1)
194public override string FormatMessage([StringSyntax(StringSyntaxAttribute.CompositeFormat)] string format, string name)
System\ComponentModel\DataAnnotations\RegularExpressionAttribute.cs (1)
98public override string FormatMessage([StringSyntax(StringSyntaxAttribute.CompositeFormat)] string format, string name)
System\ComponentModel\DataAnnotations\StringLengthAttribute.cs (1)
87public override string FormatMessage([StringSyntax(StringSyntaxAttribute.CompositeFormat)] string format, string name)
4 references to FormatMessage
Microsoft.AspNetCore.Components.Endpoints (1)
Forms\DataAnnotationsLocalizer.cs (1)
65return 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" />. 353FormatMessage(ErrorMessageString, name);