9 writes to Prompt
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (6)
DataAnnotationsMetadataProviderTest.cs (4)
38{ new DisplayAttribute() { Prompt = "Enter Value" }, d => d.Placeholder(), "Enter Value" }, 512Prompt = nameof(DataAnnotations.Test.Resources.DisplayAttribute_Prompt), 541Prompt = nameof(DataAnnotations.Test.Resources.DisplayAttribute_Prompt), 588Prompt = "Model_Prompt"
ModelMetadataProviderTest.cs (2)
194new DisplayAttribute { Prompt = "value" }, metadata => metadata.Placeholder 428var display = new DisplayAttribute() { Prompt = "prompt" };
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (3)
Rendering\HtmlHelperPasswordTest.cs (1)
537[Display(Prompt = "placeholder")]
Rendering\HtmlHelperTextAreaTest.cs (1)
162[Display(Prompt = "placeholder")]
Rendering\HtmlHelperTextBoxTest.cs (1)
180[Display(Prompt = "placeholder")]
11 references to Prompt
Microsoft.AspNetCore.Mvc.Abstractions (1)
ModelBinding\ModelMetadata.cs (1)
369/// By default, this is configured using <see cref="System.ComponentModel.DataAnnotations.DisplayAttribute.Prompt" />.
Microsoft.AspNetCore.Mvc.DataAnnotations (2)
DataAnnotationsMetadataProvider.cs (2)
257!string.IsNullOrEmpty(displayAttribute.Prompt) && 260displayMetadata.Placeholder = () => localizer[displayAttribute.Prompt];
System.ComponentModel.Annotations (8)
System\ComponentModel\DataAnnotations\DisplayAttribute.cs (8)
24private readonly LocalizableString _prompt = new LocalizableString(nameof(Prompt)); 168/// <see cref="Name" />, <see cref="Description" />, <see cref="Prompt" />, and <see cref="GroupName" />. 360/// This can be either a literal, non-localized string provided to <see cref="Prompt" /> or the 361/// localized string found when <see cref="ResourceType" /> has been specified and <see cref="Prompt" /> 367/// <see cref="Prompt" /> will be returned. 369/// When <see cref="ResourceType" /> has been specified and <see cref="Prompt" /> 374/// After setting both the <see cref="ResourceType" /> property and the <see cref="Prompt" /> property, 375/// but a public static property with a name matching the <see cref="Prompt" /> value couldn't be found