Base:
method
FormatErrorMessage
System.ComponentModel.DataAnnotations.ValidationAttribute.FormatErrorMessage(System.String)
1 reference to FormatErrorMessage
System.ComponentModel.DataAnnotations (1)
DataAnnotations\CompareAttribute.cs (1)
49return new ValidationResult(FormatErrorMessage(validationContext.DisplayName));