33 instantiations of EmailAddressAttribute
Identity.ExternalClaims (6)
Pages\Account\ExternalLogin.cshtml.cs (1)
46[EmailAddress]
Pages\Account\ForgotPassword.cshtml.cs (1)
33[EmailAddress]
Pages\Account\Login.cshtml.cs (1)
42[EmailAddress]
Pages\Account\Manage\Index.cshtml.cs (1)
47[EmailAddress]
Pages\Account\Register.cshtml.cs (1)
45[EmailAddress]
Pages\Account\ResetPassword.cshtml.cs (1)
31[EmailAddress]
IdentitySample.DefaultUI (1)
Areas\Identity\Pages\Account\Register.cshtml.cs (1)
44[EmailAddress]
IdentitySample.Mvc (5)
Models\AccountViewModels\ExternalLoginConfirmationViewModel.cs (1)
11[EmailAddress]
Models\AccountViewModels\ForgotPasswordViewModel.cs (1)
11[EmailAddress]
Models\AccountViewModels\LoginViewModel.cs (1)
11[EmailAddress]
Models\AccountViewModels\RegisterViewModel.cs (1)
11[EmailAddress]
Models\AccountViewModels\ResetPasswordViewModel.cs (1)
11[EmailAddress]
Microsoft.AspNetCore.Identity (1)
IdentityApiEndpointRouteBuilderExtensions.cs (1)
29private static readonly EmailAddressAttribute _emailAddressAttribute = new();
Microsoft.AspNetCore.Identity.UI (14)
Areas\Identity\Pages\V4\Account\ExternalLogin.cshtml.cs (1)
62[EmailAddress]
Areas\Identity\Pages\V4\Account\ForgotPassword.cshtml.cs (1)
40[EmailAddress]
Areas\Identity\Pages\V4\Account\Login.cshtml.cs (1)
60[EmailAddress]
Areas\Identity\Pages\V4\Account\Manage\Email.cshtml.cs (1)
57[EmailAddress]
Areas\Identity\Pages\V4\Account\Register.cshtml.cs (1)
56[EmailAddress]
Areas\Identity\Pages\V4\Account\ResendEmailConfirmation.cshtml.cs (1)
40[EmailAddress]
Areas\Identity\Pages\V4\Account\ResetPassword.cshtml.cs (1)
39[EmailAddress]
Areas\Identity\Pages\V5\Account\ExternalLogin.cshtml.cs (1)
62[EmailAddress]
Areas\Identity\Pages\V5\Account\ForgotPassword.cshtml.cs (1)
40[EmailAddress]
Areas\Identity\Pages\V5\Account\Login.cshtml.cs (1)
60[EmailAddress]
Areas\Identity\Pages\V5\Account\Manage\Email.cshtml.cs (1)
57[EmailAddress]
Areas\Identity\Pages\V5\Account\Register.cshtml.cs (1)
56[EmailAddress]
Areas\Identity\Pages\V5\Account\ResendEmailConfirmation.cshtml.cs (1)
40[EmailAddress]
Areas\Identity\Pages\V5\Account\ResetPassword.cshtml.cs (1)
39[EmailAddress]
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (4)
DataAnnotationsMetadataProviderTest.cs (2)
1454var attributes = new Attribute[] { new EmailAddressAttribute(), validationProviderAttribute }; 1465new EmailAddressAttribute(),
DataAnnotationsModelValidatorTest.cs (1)
490new EmailAddressAttribute() { ErrorMessage = LocalizationKey },
ValidationAttributeAdapterProviderTest.cs (1)
71{ new EmailAddressAttribute(), "data-val-email" },
Microsoft.Extensions.Identity.Core (1)
UserValidator.cs (1)
91if (!new EmailAddressAttribute().IsValid(email))
RazorPagesWebSite (1)
Pages\CustomModelTypeModel.cshtml.cs (1)
25[EmailAddress]
3 references to EmailAddressAttribute
Microsoft.AspNetCore.Identity (1)
IdentityApiEndpointRouteBuilderExtensions.cs (1)
29private static readonly EmailAddressAttribute _emailAddressAttribute = new();
Microsoft.AspNetCore.Mvc.DataAnnotations (1)
ValidationAttributeAdapterProvider.cs (1)
58else if (typeof(EmailAddressAttribute).IsAssignableFrom(type))
System.ComponentModel.DataAnnotations (1)
System.ComponentModel.DataAnnotations.cs (1)
16[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.DataAnnotations.EmailAddressAttribute))]