32 writes to Name
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")]
18 references to Name
Microsoft.AspNetCore.Components.Forms (2)
ClientValidation\DefaultClientValidationService.cs (2)
295
if (displayAttribute is { ResourceType: not null,
Name
: not null })
301
literalDisplayName = displayAttribute?.
Name
Microsoft.AspNetCore.Mvc.DataAnnotations (2)
DataAnnotationsMetadataProvider.cs (2)
129
!string.IsNullOrEmpty(displayAttribute.
Name
) &&
132
displayMetadata.DisplayName = () => localizer[displayAttribute.
Name
];
Microsoft.Extensions.Validation (6)
DisplayNameInfo.cs (1)
18
/// <see cref="DisplayAttribute.
Name
"/>, a static resource accessor for
DisplayNameLocalizationContext.cs (1)
21
/// Gets the display name from <see cref="DisplayAttribute.
Name
"/> to use as a localization lookup key.
RuntimeValidatableParameterInfoResolver.cs (3)
67
if (displayAttribute is { ResourceType: not null,
Name
: not null })
76
if (displayAttribute?.
Name
is not null)
79
return new LiteralDisplayName(displayAttribute.
Name
);
ValidationOptions.cs (1)
43
/// names from <see cref="System.ComponentModel.DataAnnotations.DisplayAttribute.
Name
"/> and
System.ComponentModel.Annotations (8)
System\ComponentModel\DataAnnotations\DisplayAttribute.cs (8)
23
private 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