38 references to IsValid
Microsoft.AspNetCore.Identity.UI (28)
Areas\Identity\Pages\V4\Account\ExternalLogin.cshtml.cs (1)
181if (ModelState.IsValid)
Areas\Identity\Pages\V4\Account\ForgotPassword.cshtml.cs (1)
64if (ModelState.IsValid)
Areas\Identity\Pages\V4\Account\Login.cshtml.cs (1)
126if (ModelState.IsValid)
Areas\Identity\Pages\V4\Account\LoginWith2fa.cshtml.cs (1)
111if (!ModelState.IsValid)
Areas\Identity\Pages\V4\Account\LoginWithRecoveryCode.cshtml.cs (1)
96if (!ModelState.IsValid)
Areas\Identity\Pages\V4\Account\Manage\ChangePassword.cshtml.cs (1)
115if (!ModelState.IsValid)
Areas\Identity\Pages\V4\Account\Manage\Email.cshtml.cs (2)
130if (!ModelState.IsValid) 165if (!ModelState.IsValid)
Areas\Identity\Pages\V4\Account\Manage\EnableAuthenticator.cshtml.cs (1)
124if (!ModelState.IsValid)
Areas\Identity\Pages\V4\Account\Manage\Index.cshtml.cs (1)
111if (!ModelState.IsValid)
Areas\Identity\Pages\V4\Account\Manage\SetPassword.cshtml.cs (1)
103if (!ModelState.IsValid)
Areas\Identity\Pages\V4\Account\Register.cshtml.cs (1)
127if (ModelState.IsValid)
Areas\Identity\Pages\V4\Account\ResendEmailConfirmation.cshtml.cs (1)
74if (!ModelState.IsValid)
Areas\Identity\Pages\V4\Account\ResetPassword.cshtml.cs (1)
108if (!ModelState.IsValid)
Areas\Identity\Pages\V5\Account\ExternalLogin.cshtml.cs (1)
181if (ModelState.IsValid)
Areas\Identity\Pages\V5\Account\ForgotPassword.cshtml.cs (1)
64if (ModelState.IsValid)
Areas\Identity\Pages\V5\Account\Login.cshtml.cs (1)
126if (ModelState.IsValid)
Areas\Identity\Pages\V5\Account\LoginWith2fa.cshtml.cs (1)
111if (!ModelState.IsValid)
Areas\Identity\Pages\V5\Account\LoginWithRecoveryCode.cshtml.cs (1)
96if (!ModelState.IsValid)
Areas\Identity\Pages\V5\Account\Manage\ChangePassword.cshtml.cs (1)
115if (!ModelState.IsValid)
Areas\Identity\Pages\V5\Account\Manage\Email.cshtml.cs (2)
130if (!ModelState.IsValid) 165if (!ModelState.IsValid)
Areas\Identity\Pages\V5\Account\Manage\EnableAuthenticator.cshtml.cs (1)
124if (!ModelState.IsValid)
Areas\Identity\Pages\V5\Account\Manage\Index.cshtml.cs (1)
111if (!ModelState.IsValid)
Areas\Identity\Pages\V5\Account\Manage\SetPassword.cshtml.cs (1)
103if (!ModelState.IsValid)
Areas\Identity\Pages\V5\Account\Register.cshtml.cs (1)
127if (ModelState.IsValid)
Areas\Identity\Pages\V5\Account\ResendEmailConfirmation.cshtml.cs (1)
74if (!ModelState.IsValid)
Areas\Identity\Pages\V5\Account\ResetPassword.cshtml.cs (1)
108if (!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)
2840return ModelState.IsValid;
Infrastructure\ModelStateInvalidFilter.cs (1)
76if (context.Result == null && !context.ModelState.IsValid)
ModelBinding\ModelBindingHelper.cs (1)
279return modelState.IsValid;
ModelBinding\UnsupportedContentTypeFilter.cs (1)
38if (modelState.IsValid)
SerializableError.cs (1)
33if (modelState.IsValid)
Microsoft.AspNetCore.Mvc.RazorPages (2)
PageBase.cs (1)
1581return ModelState.IsValid;
PageModel.cs (1)
1658return ModelState.IsValid;
Microsoft.AspNetCore.Mvc.ViewFeatures (2)
DefaultHtmlGenerator.cs (2)
811if (!viewContext.ClientValidationEnabled && viewData.ModelState.IsValid) 874if (viewData.ModelState.IsValid)