10 references to Description
Microsoft.AspNetCore.Mvc.DataAnnotations (2)
DataAnnotationsMetadataProvider.cs (2)
107!string.IsNullOrEmpty(displayAttribute.Description) && 110displayMetadata.Description = () => localizer[displayAttribute.Description];
System.ComponentModel.Annotations (8)
System\ComponentModel\DataAnnotations\DisplayAttribute.cs (8)
21private readonly LocalizableString _description = new LocalizableString(nameof(Description)); 168/// <see cref="Name" />, <see cref="Description" />, <see cref="Prompt" />, and <see cref="GroupName" />. 337/// This can be either a literal, non-localized string provided to <see cref="Description" /> or the 338/// localized string found when <see cref="ResourceType" /> has been specified and <see cref="Description" /> 344/// <see cref="Description" /> will be returned. 346/// When <see cref="ResourceType" /> has been specified and <see cref="Description" /> 351/// After setting both the <see cref="ResourceType" /> property and the <see cref="Description" /> property, 352/// but a public static property with a name matching the <see cref="Description" /> value couldn't be found