1 write to DisplayName
System.Web (1)
ModelBinding\DataAnnotationsModelValidator.cs (1)
75
context.
DisplayName
= Metadata.GetDisplayName();
4 references to DisplayName
System.ComponentModel.DataAnnotations (3)
DataAnnotations\CompareAttribute.cs (1)
49
return new ValidationResult(FormatErrorMessage(validationContext.
DisplayName
));
DataAnnotations\ValidationAttribute.cs (2)
382
result = new ValidationResult(this.FormatErrorMessage(validationContext.
DisplayName
), memberNames);
422
string errorMessage = this.FormatErrorMessage(validationContext.
DisplayName
);
System.Web (1)
Security\MembershipPasswordAttribute.cs (1)
172
string name = (validationContext != null) ? validationContext.
DisplayName
: String.Empty;