10 references to GetName
Microsoft.AspNetCore.Mvc.DataAnnotations (3)
DataAnnotationsMetadataProvider.cs (3)
126if (displayAttribute?.GetName() != null) 136displayMetadata.DisplayName = displayAttribute.GetName; 397var name = display.GetName();
System.ComponentModel.Annotations (7)
System\ComponentModel\DataAnnotations\CompareAttribute.cs (1)
67return display.GetName();
System\ComponentModel\DataAnnotations\DisplayAttribute.cs (5)
69/// Consumers must use the <see cref="GetName" /> method to retrieve the UI display string. 77/// The <see cref="GetName" /> method will return either the literal, non-localized 170/// <see cref="GetName" />, <see cref="GetDescription" />, <see cref="GetPrompt" />, and <see cref="GetGroupName" /> 297/// If <see cref="ShortName" /> is <c>null</c>, the value from <see cref="GetName" /> will be returned. 305public string? GetShortName() => _shortName.GetLocalizableValue() ?? GetName();
System\ComponentModel\DataAnnotations\ValidationContext.cs (1)
220displayName = displayAttribute.GetName();