123 writes to Name
BasicWebSite (3)
Models\LoginViewModel.cs (3)
11[Display(Name = "User name")] 16[Display(Name = "Password")] 19[Display(Name = "Remember me?")]
FormatterWebSite (1)
Controllers\TopLevelValidationController.cs (1)
35[Range(1, 100), Display(Name = "Some Display Name For Param")] int optionalRangeDisplayNameParam)
HtmlGenerationWebSite (4)
Models\Item.cs (3)
11[Display(Name = "ItemName")] 15[Display(Name = "ItemNo")] 18[Display(Name = "ItemDesc")]
Models\Month.cs (1)
10[Display(Name = "January")]
Identity.ExternalClaims (15)
Pages\Account\Login.cshtml.cs (1)
49[Display(Name = "Remember me?")]
Pages\Account\LoginWith2fa.cshtml.cs (2)
40[Display(Name = "Authenticator code")] 43[Display(Name = "Remember this machine")]
Pages\Account\LoginWithRecoveryCode.cshtml.cs (1)
38[Display(Name = "Recovery Code")]
Pages\Account\Manage\ChangePassword.cshtml.cs (3)
43[Display(Name = "Current password")] 49[Display(Name = "New password")] 53[Display(Name = "Confirm new password")]
Pages\Account\Manage\EnableAuthenticator.cshtml.cs (1)
51[Display(Name = "Verification Code")]
Pages\Account\Manage\Index.cshtml.cs (1)
51[Display(Name = "Phone number")]
Pages\Account\Manage\SetPassword.cshtml.cs (2)
40[Display(Name = "New password")] 44[Display(Name = "Confirm new password")]
Pages\Account\Register.cshtml.cs (3)
46[Display(Name = "Email")] 52[Display(Name = "Password")] 56[Display(Name = "Confirm password")]
Pages\Account\ResetPassword.cshtml.cs (1)
40[Display(Name = "Confirm password")]
IdentitySample.DefaultUI (8)
Areas\Identity\Pages\Account\Manage\Index.cshtml.cs (3)
36[Display(Name = "Phone number")] 41[Display(Name = "Full Name")] 46[Display(Name = "Age")]
Areas\Identity\Pages\Account\Register.cshtml.cs (5)
45[Display(Name = "Email")] 51[Display(Name = "Password")] 55[Display(Name = "Confirm password")] 61[Display(Name = "Full name")] 66[Display(Name = "Age")]
IdentitySample.Mvc (16)
Models\AccountViewModels\LoginViewModel.cs (1)
18[Display(Name = "Remember me?")]
Models\AccountViewModels\RegisterViewModel.cs (3)
12[Display(Name = "Email")] 18[Display(Name = "Password")] 22[Display(Name = "Confirm password")]
Models\AccountViewModels\ResetPasswordViewModel.cs (1)
20[Display(Name = "Confirm password")]
Models\AccountViewModels\VerifyAuthenticatorCodeViewModel.cs (2)
15[Display(Name = "Remember this browser?")] 18[Display(Name = "Remember me?")]
Models\AccountViewModels\VerifyCodeViewModel.cs (2)
18[Display(Name = "Remember this browser?")] 21[Display(Name = "Remember me?")]
Models\ManageViewModels\AddPhoneNumberViewModel.cs (1)
12[Display(Name = "Phone number")]
Models\ManageViewModels\ChangePasswordViewModel.cs (3)
12[Display(Name = "Current password")] 18[Display(Name = "New password")] 22[Display(Name = "Confirm new password")]
Models\ManageViewModels\SetPasswordViewModel.cs (2)
13[Display(Name = "New password")] 17[Display(Name = "Confirm new password")]
Models\ManageViewModels\VerifyPhoneNumberViewModel.cs (1)
15[Display(Name = "Phone number")]
Microsoft.AspNetCore.Identity.UI (32)
Areas\Identity\Pages\V4\Account\Login.cshtml.cs (1)
75[Display(Name = "Remember me?")]
Areas\Identity\Pages\V4\Account\LoginWith2fa.cshtml.cs (2)
53[Display(Name = "Authenticator code")] 60[Display(Name = "Remember this machine")]
Areas\Identity\Pages\V4\Account\LoginWithRecoveryCode.cshtml.cs (1)
47[Display(Name = "Recovery Code")]
Areas\Identity\Pages\V4\Account\Manage\ChangePassword.cshtml.cs (3)
44[Display(Name = "Current password")] 54[Display(Name = "New password")] 62[Display(Name = "Confirm new password")]
Areas\Identity\Pages\V4\Account\Manage\Email.cshtml.cs (1)
58[Display(Name = "New email")]
Areas\Identity\Pages\V4\Account\Manage\EnableAuthenticator.cshtml.cs (1)
68[Display(Name = "Verification Code")]
Areas\Identity\Pages\V4\Account\Manage\Index.cshtml.cs (1)
48[Display(Name = "Phone number")]
Areas\Identity\Pages\V4\Account\Manage\SetPassword.cshtml.cs (2)
44[Display(Name = "New password")] 52[Display(Name = "Confirm new password")]
Areas\Identity\Pages\V4\Account\Register.cshtml.cs (3)
57[Display(Name = "Email")] 67[Display(Name = "Password")] 75[Display(Name = "Confirm password")]
Areas\Identity\Pages\V4\Account\ResetPassword.cshtml.cs (1)
56[Display(Name = "Confirm password")]
Areas\Identity\Pages\V5\Account\Login.cshtml.cs (1)
75[Display(Name = "Remember me?")]
Areas\Identity\Pages\V5\Account\LoginWith2fa.cshtml.cs (2)
53[Display(Name = "Authenticator code")] 60[Display(Name = "Remember this machine")]
Areas\Identity\Pages\V5\Account\LoginWithRecoveryCode.cshtml.cs (1)
47[Display(Name = "Recovery Code")]
Areas\Identity\Pages\V5\Account\Manage\ChangePassword.cshtml.cs (3)
44[Display(Name = "Current password")] 54[Display(Name = "New password")] 62[Display(Name = "Confirm new password")]
Areas\Identity\Pages\V5\Account\Manage\Email.cshtml.cs (1)
58[Display(Name = "New email")]
Areas\Identity\Pages\V5\Account\Manage\EnableAuthenticator.cshtml.cs (1)
68[Display(Name = "Verification Code")]
Areas\Identity\Pages\V5\Account\Manage\Index.cshtml.cs (1)
48[Display(Name = "Phone number")]
Areas\Identity\Pages\V5\Account\Manage\SetPassword.cshtml.cs (2)
44[Display(Name = "New password")] 52[Display(Name = "Confirm new password")]
Areas\Identity\Pages\V5\Account\Register.cshtml.cs (3)
57[Display(Name = "Email")] 67[Display(Name = "Password")] 75[Display(Name = "Confirm password")]
Areas\Identity\Pages\V5\Account\ResetPassword.cshtml.cs (1)
56[Display(Name = "Confirm password")]
Microsoft.AspNetCore.Mvc.Core.Test (2)
ModelBinding\Validation\DefaultObjectValidatorTests.cs (2)
1555[Display(Name = "Never valid")] 1563[Display(Name = "Never valid")]
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (21)
CompareAttributeAdapterTest.cs (2)
240[Display(Name = "MyPropertyDisplayName")] 243[Display(Name = "OtherPropertyDisplayName")]
DataAnnotationsMetadataProviderTest.cs (15)
20[Display(Name = "DisplayNameValue")] 36{ new DisplayAttribute() { Name = "DN" }, d => d.DisplayName(), "DN" }, 194Name = "DisplayAttributeValue" 217Name = string.Empty 350Name = "DisplayName" 378Name = nameof(DataAnnotations.Test.Resources.DisplayAttribute_Name), 413Name = nameof(DataAnnotations.Test.Resources.DisplayAttribute_Name), 586Name = "Model_Name", 1789[Display(Name = "Loc_Two_Name")] 1791[Display(Name = nameof(TestResources.Type_Three_Name), ResourceType = typeof(TestResources))] 1801[Display(Name = "tres")] 1804[Display(Name = "dos")] 1811[Display(Name = "", GroupName = "Zero")] 1814[Display(Name = "menos uno", GroupName = "Negatives")] 1820[Display(Name = nameof(TestResources.DisplayAttribute_Name), ResourceType = typeof(TestResources))]
ModelMetadataProviderTest.cs (2)
191new DisplayAttribute { Name = "value" }, metadata => metadata.DisplayName 446Name = nameof(TestResources.DisplayAttribute_CultureSensitiveName),
NumericClientModelValidatorTest.cs (1)
156[Display(Name = "DisplayId")]
ValidatableObjectAdapterTest.cs (1)
212[Display(Name = "sample model")]
Microsoft.AspNetCore.Mvc.IntegrationTests (6)
ActionParametersIntegrationTest.cs (1)
953[Display(Name = "My Display Name"), StringLength(3)] string displayNameStringLengthParam,
Models\Product.cs (1)
15[Display(Name = "Contact Us")]
ValidationIntegrationTests.cs (2)
1326[Display(Name = "Not ever valid")] 1330[Display(Name = "Never valid")]
ValidationWithRecordIntegrationTests.cs (2)
1175[Display(Name = "Not ever valid")] NeverValid NeverValidBecauseType, 1178[Display(Name = "Never valid")]
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (9)
Rendering\DefaultTemplatesUtilities.cs (1)
34[Display(Name = "Prop2")]
Rendering\HtmlHelperDisplayExtensionsTest.cs (2)
516[Display(Name = "CreatedKey")] 518[Display(Name = "FaultedKey", ResourceType = typeof(StatusResource))]
Rendering\HtmlHelperDisplayTextTest.cs (1)
369[Display(Name = "Value One")]
Rendering\HtmlHelperSelectTest.cs (5)
1652[Display(Name = "tres")] 1655[Display(Name = "dos")] 1662[Display(Name = "cero")] 1665[Display(Name = "menos uno")] 1671[Display(Name = nameof(TestResources.DisplayAttribute_Name), ResourceType = typeof(TestResources))]
RazorPagesWebSite (3)
Pages\CustomModelTypeModel.cshtml.cs (3)
26[Display(Name = "Email")] 32[Display(Name = "Password")] 36[Display(Name = "Confirm password")]
RazorWebSite (2)
Models\EnumModel.cs (2)
10[Display(Name = "FirstOptionDisplay")] 17[Display(Name = "ModelEnum")]
TagHelpersWebSite (1)
Models\Employee.cs (1)
12[Display(Name = "Full Name", ShortName = "FN")]
10 references to Name
Microsoft.AspNetCore.Mvc.DataAnnotations (2)
DataAnnotationsMetadataProvider.cs (2)
129!string.IsNullOrEmpty(displayAttribute.Name) && 132displayMetadata.DisplayName = () => localizer[displayAttribute.Name];
System.ComponentModel.Annotations (8)
System\ComponentModel\DataAnnotations\DisplayAttribute.cs (8)
23private readonly LocalizableString _name = new LocalizableString(nameof(Name)); 168/// <see cref="Name" />, <see cref="Description" />, <see cref="Prompt" />, and <see cref="GroupName" />. 310/// This can be either a literal, non-localized string provided to <see cref="Name" /> or the 311/// localized string found when <see cref="ResourceType" /> has been specified and <see cref="Name" /> 317/// <see cref="Name" /> will be returned. 319/// When <see cref="ResourceType" /> has been specified and <see cref="Name" /> 328/// After setting both the <see cref="ResourceType" /> property and the <see cref="Name" /> property, 329/// but a public static property with a name matching the <see cref="Name" /> value couldn't be found