38 references to IsValid
Microsoft.AspNetCore.Identity.UI (28)
Areas\Identity\Pages\V4\Account\ExternalLogin.cshtml.cs (1)
181
if (ModelState.
IsValid
)
Areas\Identity\Pages\V4\Account\ForgotPassword.cshtml.cs (1)
64
if (ModelState.
IsValid
)
Areas\Identity\Pages\V4\Account\Login.cshtml.cs (1)
126
if (ModelState.
IsValid
)
Areas\Identity\Pages\V4\Account\LoginWith2fa.cshtml.cs (1)
111
if (!ModelState.
IsValid
)
Areas\Identity\Pages\V4\Account\LoginWithRecoveryCode.cshtml.cs (1)
96
if (!ModelState.
IsValid
)
Areas\Identity\Pages\V4\Account\Manage\ChangePassword.cshtml.cs (1)
115
if (!ModelState.
IsValid
)
Areas\Identity\Pages\V4\Account\Manage\Email.cshtml.cs (2)
130
if (!ModelState.
IsValid
)
165
if (!ModelState.
IsValid
)
Areas\Identity\Pages\V4\Account\Manage\EnableAuthenticator.cshtml.cs (1)
124
if (!ModelState.
IsValid
)
Areas\Identity\Pages\V4\Account\Manage\Index.cshtml.cs (1)
111
if (!ModelState.
IsValid
)
Areas\Identity\Pages\V4\Account\Manage\SetPassword.cshtml.cs (1)
103
if (!ModelState.
IsValid
)
Areas\Identity\Pages\V4\Account\Register.cshtml.cs (1)
127
if (ModelState.
IsValid
)
Areas\Identity\Pages\V4\Account\ResendEmailConfirmation.cshtml.cs (1)
74
if (!ModelState.
IsValid
)
Areas\Identity\Pages\V4\Account\ResetPassword.cshtml.cs (1)
108
if (!ModelState.
IsValid
)
Areas\Identity\Pages\V5\Account\ExternalLogin.cshtml.cs (1)
181
if (ModelState.
IsValid
)
Areas\Identity\Pages\V5\Account\ForgotPassword.cshtml.cs (1)
64
if (ModelState.
IsValid
)
Areas\Identity\Pages\V5\Account\Login.cshtml.cs (1)
126
if (ModelState.
IsValid
)
Areas\Identity\Pages\V5\Account\LoginWith2fa.cshtml.cs (1)
111
if (!ModelState.
IsValid
)
Areas\Identity\Pages\V5\Account\LoginWithRecoveryCode.cshtml.cs (1)
96
if (!ModelState.
IsValid
)
Areas\Identity\Pages\V5\Account\Manage\ChangePassword.cshtml.cs (1)
115
if (!ModelState.
IsValid
)
Areas\Identity\Pages\V5\Account\Manage\Email.cshtml.cs (2)
130
if (!ModelState.
IsValid
)
165
if (!ModelState.
IsValid
)
Areas\Identity\Pages\V5\Account\Manage\EnableAuthenticator.cshtml.cs (1)
124
if (!ModelState.
IsValid
)
Areas\Identity\Pages\V5\Account\Manage\Index.cshtml.cs (1)
111
if (!ModelState.
IsValid
)
Areas\Identity\Pages\V5\Account\Manage\SetPassword.cshtml.cs (1)
103
if (!ModelState.
IsValid
)
Areas\Identity\Pages\V5\Account\Register.cshtml.cs (1)
127
if (ModelState.
IsValid
)
Areas\Identity\Pages\V5\Account\ResendEmailConfirmation.cshtml.cs (1)
74
if (!ModelState.
IsValid
)
Areas\Identity\Pages\V5\Account\ResetPassword.cshtml.cs (1)
108
if (!ModelState.
IsValid
)
Microsoft.AspNetCore.Mvc.Abstractions (1)
ModelBinding\ModelValidationState.cs (1)
10
/// of <see cref="ModelStateDictionary"/>. <see cref="ModelStateDictionary.
IsValid
"/> is <see langword="true" />, when
Microsoft.AspNetCore.Mvc.Core (5)
ControllerBase.cs (1)
2840
return ModelState.
IsValid
;
Infrastructure\ModelStateInvalidFilter.cs (1)
76
if (context.Result == null && !context.ModelState.
IsValid
)
ModelBinding\ModelBindingHelper.cs (1)
279
return modelState.
IsValid
;
ModelBinding\UnsupportedContentTypeFilter.cs (1)
38
if (modelState.
IsValid
)
SerializableError.cs (1)
33
if (modelState.
IsValid
)
Microsoft.AspNetCore.Mvc.RazorPages (2)
PageBase.cs (1)
1581
return ModelState.
IsValid
;
PageModel.cs (1)
1658
return ModelState.
IsValid
;
Microsoft.AspNetCore.Mvc.ViewFeatures (2)
DefaultHtmlGenerator.cs (2)
811
if (!viewContext.ClientValidationEnabled && viewData.ModelState.
IsValid
)
874
if (viewData.ModelState.
IsValid
)