8 writes to Description
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (8)
DataAnnotationsMetadataProviderTest.cs (5)
35{ new DisplayAttribute() { Description = "d" }, d => d.Description(), "d" }, 240Description = "This is a description" 448Description = nameof(DataAnnotations.Test.Resources.DisplayAttribute_Description), 477Description = nameof(DataAnnotations.Test.Resources.DisplayAttribute_Description), 587Description = "Model_Description",
ModelMetadataProviderTest.cs (3)
188new DisplayAttribute { Description = "value" }, metadata => metadata.Description 412var display = new DisplayAttribute() { Description = "description" }; 472Description = nameof(TestResources.DisplayAttribute_CultureSensitiveDescription),
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