176 types derived from PageModel
BrowserTelemetry.Web (1)
Pages\Index.cshtml.cs (1)
5public class IndexModel : PageModel
DynamicSchemes (4)
Pages\About.cshtml.cs (1)
12public class AboutModel : PageModel
Pages\Contact.cshtml.cs (1)
12public class ContactModel : PageModel
Pages\Error.cshtml.cs (1)
13public class ErrorModel : PageModel
Pages\Index.cshtml.cs (1)
13public class IndexModel : PageModel
HostedBlazorWebassemblyApp.Server (1)
Pages\Error.cshtml.cs (1)
17public class ErrorModel : PageModel
Identity.DefaultUI.WebSite (6)
Pages\About.cshtml.cs (1)
8public class AboutModel : PageModel
Pages\Contact.cshtml.cs (1)
8public class ContactModel : PageModel
Pages\Contoso\Login.cshtml.cs (1)
16public class LoginModel : PageModel
Pages\Error.cshtml.cs (1)
11public class ErrorModel : PageModel
Pages\Index.cshtml.cs (1)
10public class IndexModel : PageModel
Pages\Privacy.cshtml.cs (1)
9public class PrivacyModel : PageModel
Identity.ExternalClaims (26)
Pages\Account\AccessDenied.cshtml.cs (1)
12public class AccessDeniedModel : PageModel
Pages\Account\ConfirmEmail.cshtml.cs (1)
15public class ConfirmEmailModel : PageModel
Pages\Account\ExternalLogin.cshtml.cs (1)
17public class ExternalLoginModel : PageModel
Pages\Account\ForgotPassword.cshtml.cs (1)
16public class ForgotPasswordModel : PageModel
Pages\Account\ForgotPasswordConfirmation.cshtml.cs (1)
12public class ForgotPasswordConfirmation : PageModel
Pages\Account\Lockout.cshtml.cs (1)
12public class LockoutModel : PageModel
Pages\Account\Login.cshtml.cs (1)
18public class LoginModel : PageModel
Pages\Account\LoginWith2fa.cshtml.cs (1)
17public class LoginWith2faModel : PageModel
Pages\Account\LoginWithRecoveryCode.cshtml.cs (1)
17public class LoginWithRecoveryCodeModel : PageModel
Pages\Account\Manage\ChangePassword.cshtml.cs (1)
17public class ChangePasswordModel : PageModel
Pages\Account\Manage\Disable2fa.cshtml.cs (1)
16public class Disable2faModel : PageModel
Pages\Account\Manage\EnableAuthenticator.cshtml.cs (1)
21public class EnableAuthenticatorModel : PageModel
Pages\Account\Manage\ExternalLogins.cshtml.cs (1)
16public class ExternalLoginsModel : PageModel
Pages\Account\Manage\GenerateRecoveryCodes.cshtml.cs (1)
16public class GenerateRecoveryCodesModel : PageModel
Pages\Account\Manage\Index.cshtml.cs (1)
18public partial class IndexModel : PageModel
Pages\Account\Manage\ResetAuthenticator.cshtml.cs (1)
16public class ResetAuthenticatorModel : PageModel
Pages\Account\Manage\SetPassword.cshtml.cs (1)
16public class SetPasswordModel : PageModel
Pages\Account\Manage\TwoFactorAuthentication.cshtml.cs (1)
16public class TwoFactorAuthenticationModel : PageModel
Pages\Account\Register.cshtml.cs (1)
18public class RegisterModel : PageModel
Pages\Account\ResetPassword.cshtml.cs (1)
16public class ResetPasswordModel : PageModel
Pages\Account\ResetPasswordConfirmation.cshtml.cs (1)
12public class ResetPasswordConfirmationModel : PageModel
Pages\Account\SignedOut.cshtml.cs (1)
11public class SignedOutModel : PageModel
Pages\Contact.cshtml.cs (1)
12public class ContactModel : PageModel
Pages\Error.cshtml.cs (1)
13public class ErrorModel : PageModel
Pages\Index.cshtml.cs (1)
13public class IndexModel : PageModel
Pages\MyClaims.cshtml.cs (1)
12public class MyClaimsModel : PageModel
IdentitySample.DefaultUI (2)
Areas\Identity\Pages\Account\Manage\Index.cshtml.cs (1)
12public class IndexModel : PageModel
Areas\Identity\Pages\Account\Register.cshtml.cs (1)
15public class RegisterModel : PageModel
Microsoft.AspNetCore.Identity.UI (62)
Areas\Identity\Pages\V4\Account\AccessDenied.cshtml.cs (1)
12public class AccessDeniedModel : PageModel
Areas\Identity\Pages\V4\Account\ConfirmEmail.cshtml.cs (1)
18public abstract class ConfirmEmailModel : PageModel
Areas\Identity\Pages\V4\Account\ConfirmEmailChange.cshtml.cs (1)
18public abstract class ConfirmEmailChangeModel : PageModel
Areas\Identity\Pages\V4\Account\ExternalLogin.cshtml.cs (1)
23public class ExternalLoginModel : PageModel
Areas\Identity\Pages\V4\Account\ForgotPassword.cshtml.cs (1)
20public abstract class ForgotPasswordModel : PageModel
Areas\Identity\Pages\V4\Account\ForgotPasswordConfirmation.cshtml.cs (1)
14public class ForgotPasswordConfirmation : PageModel
Areas\Identity\Pages\V4\Account\Lockout.cshtml.cs (1)
14public class LockoutModel : PageModel
Areas\Identity\Pages\V4\Account\Login.cshtml.cs (1)
21public abstract class LoginModel : PageModel
Areas\Identity\Pages\V4\Account\LoginWith2fa.cshtml.cs (1)
19public abstract class LoginWith2faModel : PageModel
Areas\Identity\Pages\V4\Account\LoginWithRecoveryCode.cshtml.cs (1)
19public abstract class LoginWithRecoveryCodeModel : PageModel
Areas\Identity\Pages\V4\Account\Logout.cshtml.cs (1)
17public abstract class LogoutModel : PageModel
Areas\Identity\Pages\V4\Account\Manage\ChangePassword.cshtml.cs (1)
16public abstract class ChangePasswordModel : PageModel
Areas\Identity\Pages\V4\Account\Manage\DeletePersonalData.cshtml.cs (1)
16public abstract class DeletePersonalDataModel : PageModel
Areas\Identity\Pages\V4\Account\Manage\Disable2fa.cshtml.cs (1)
15public abstract class Disable2faModel : PageModel
Areas\Identity\Pages\V4\Account\Manage\DownloadPersonalData.cshtml.cs (1)
17public abstract class DownloadPersonalDataModel : PageModel
Areas\Identity\Pages\V4\Account\Manage\Email.cshtml.cs (1)
18public abstract class EmailModel : PageModel
Areas\Identity\Pages\V4\Account\Manage\EnableAuthenticator.cshtml.cs (1)
20public class EnableAuthenticatorModel : PageModel
Areas\Identity\Pages\V4\Account\Manage\ExternalLogins.cshtml.cs (1)
16public abstract class ExternalLoginsModel : PageModel
Areas\Identity\Pages\V4\Account\Manage\GenerateRecoveryCodes.cshtml.cs (1)
16public abstract class GenerateRecoveryCodesModel : PageModel
Areas\Identity\Pages\V4\Account\Manage\Index.cshtml.cs (1)
15public abstract class IndexModel : PageModel
Areas\Identity\Pages\V4\Account\Manage\PersonalData.cshtml.cs (1)
15public abstract class PersonalDataModel : PageModel
Areas\Identity\Pages\V4\Account\Manage\ResetAuthenticator.cshtml.cs (1)
15public abstract class ResetAuthenticatorModel : PageModel
Areas\Identity\Pages\V4\Account\Manage\SetPassword.cshtml.cs (1)
15public abstract class SetPasswordModel : PageModel
Areas\Identity\Pages\V4\Account\Manage\ShowRecoveryCodes.cshtml.cs (1)
13public class ShowRecoveryCodesModel : PageModel
Areas\Identity\Pages\V4\Account\Manage\TwoFactorAuthentication.cshtml.cs (1)
15public abstract class TwoFactorAuthenticationModel : PageModel
Areas\Identity\Pages\V4\Account\Register.cshtml.cs (1)
24public abstract class RegisterModel : PageModel
Areas\Identity\Pages\V4\Account\RegisterConfirmation.cshtml.cs (1)
18public class RegisterConfirmationModel : PageModel
Areas\Identity\Pages\V4\Account\ResendEmailConfirmation.cshtml.cs (1)
20public class ResendEmailConfirmationModel : PageModel
Areas\Identity\Pages\V4\Account\ResetPassword.cshtml.cs (1)
19public abstract class ResetPasswordModel : PageModel
Areas\Identity\Pages\V4\Account\ResetPasswordConfirmation.cshtml.cs (1)
14public class ResetPasswordConfirmationModel : PageModel
Areas\Identity\Pages\V4\Error.cshtml.cs (1)
17public class ErrorModel : PageModel
Areas\Identity\Pages\V5\Account\AccessDenied.cshtml.cs (1)
12public class AccessDeniedModel : PageModel
Areas\Identity\Pages\V5\Account\ConfirmEmail.cshtml.cs (1)
18public abstract class ConfirmEmailModel : PageModel
Areas\Identity\Pages\V5\Account\ConfirmEmailChange.cshtml.cs (1)
18public abstract class ConfirmEmailChangeModel : PageModel
Areas\Identity\Pages\V5\Account\ExternalLogin.cshtml.cs (1)
23public class ExternalLoginModel : PageModel
Areas\Identity\Pages\V5\Account\ForgotPassword.cshtml.cs (1)
20public abstract class ForgotPasswordModel : PageModel
Areas\Identity\Pages\V5\Account\ForgotPasswordConfirmation.cshtml.cs (1)
14public class ForgotPasswordConfirmation : PageModel
Areas\Identity\Pages\V5\Account\Lockout.cshtml.cs (1)
14public class LockoutModel : PageModel
Areas\Identity\Pages\V5\Account\Login.cshtml.cs (1)
21public abstract class LoginModel : PageModel
Areas\Identity\Pages\V5\Account\LoginWith2fa.cshtml.cs (1)
19public abstract class LoginWith2faModel : PageModel
Areas\Identity\Pages\V5\Account\LoginWithRecoveryCode.cshtml.cs (1)
19public abstract class LoginWithRecoveryCodeModel : PageModel
Areas\Identity\Pages\V5\Account\Logout.cshtml.cs (1)
17public abstract class LogoutModel : PageModel
Areas\Identity\Pages\V5\Account\Manage\ChangePassword.cshtml.cs (1)
16public abstract class ChangePasswordModel : PageModel
Areas\Identity\Pages\V5\Account\Manage\DeletePersonalData.cshtml.cs (1)
16public abstract class DeletePersonalDataModel : PageModel
Areas\Identity\Pages\V5\Account\Manage\Disable2fa.cshtml.cs (1)
15public abstract class Disable2faModel : PageModel
Areas\Identity\Pages\V5\Account\Manage\DownloadPersonalData.cshtml.cs (1)
17public abstract class DownloadPersonalDataModel : PageModel
Areas\Identity\Pages\V5\Account\Manage\Email.cshtml.cs (1)
18public abstract class EmailModel : PageModel
Areas\Identity\Pages\V5\Account\Manage\EnableAuthenticator.cshtml.cs (1)
20public class EnableAuthenticatorModel : PageModel
Areas\Identity\Pages\V5\Account\Manage\ExternalLogins.cshtml.cs (1)
16public abstract class ExternalLoginsModel : PageModel
Areas\Identity\Pages\V5\Account\Manage\GenerateRecoveryCodes.cshtml.cs (1)
16public abstract class GenerateRecoveryCodesModel : PageModel
Areas\Identity\Pages\V5\Account\Manage\Index.cshtml.cs (1)
15public abstract class IndexModel : PageModel
Areas\Identity\Pages\V5\Account\Manage\PersonalData.cshtml.cs (1)
15public abstract class PersonalDataModel : PageModel
Areas\Identity\Pages\V5\Account\Manage\ResetAuthenticator.cshtml.cs (1)
15public abstract class ResetAuthenticatorModel : PageModel
Areas\Identity\Pages\V5\Account\Manage\SetPassword.cshtml.cs (1)
15public abstract class SetPasswordModel : PageModel
Areas\Identity\Pages\V5\Account\Manage\ShowRecoveryCodes.cshtml.cs (1)
13public class ShowRecoveryCodesModel : PageModel
Areas\Identity\Pages\V5\Account\Manage\TwoFactorAuthentication.cshtml.cs (1)
15public abstract class TwoFactorAuthenticationModel : PageModel
Areas\Identity\Pages\V5\Account\Register.cshtml.cs (1)
24public abstract class RegisterModel : PageModel
Areas\Identity\Pages\V5\Account\RegisterConfirmation.cshtml.cs (1)
18public class RegisterConfirmationModel : PageModel
Areas\Identity\Pages\V5\Account\ResendEmailConfirmation.cshtml.cs (1)
20public class ResendEmailConfirmationModel : PageModel
Areas\Identity\Pages\V5\Account\ResetPassword.cshtml.cs (1)
19public abstract class ResetPasswordModel : PageModel
Areas\Identity\Pages\V5\Account\ResetPasswordConfirmation.cshtml.cs (1)
14public class ResetPasswordConfirmationModel : PageModel
Areas\Identity\Pages\V5\Error.cshtml.cs (1)
17public class ErrorModel : PageModel
Microsoft.AspNetCore.Mvc.IntegrationTests (1)
BindPropertyIntegrationTest.cs (1)
308private class TestPage : PageModel
Microsoft.AspNetCore.Mvc.RazorPages.Test (22)
ApplicationModels\AuthorizationPageApplicationModelProviderTest.cs (4)
45public class ModelWithAuthorizeHandlers : PageModel 99private class TestModel : PageModel 142public class BaseModel : PageModel 181public class AnonymousModel : PageModel
ApplicationModels\DefaultPageApplicationModelProviderTest.cs (6)
267private class ModelLevel1 : PageModel 528private class EmptyPageModel : PageModel 562private class PageWithFilterModel : PageModel 567private class FiltersOnPageAndPageModel : PageModel { } 596private class ModelWithHandler : PageModel 1215private class DerivedFromPageModel : PageModel { }
ApplicationModels\ResponseCacheFilterApplicationModelProviderTest.cs (3)
45public class ModelWithoutResponseCache : PageModel 87private class ModelWithResponseCache : PageModel 133private class ModelWithResponseCacheProfile : PageModel
Filters\PageSaveTempDataPropertyFilterFactoryTest.cs (1)
42private class TestPageModel : PageModel
Filters\PageSaveTempDataPropertyFilterTest.cs (1)
213public class TestPageModel : PageModel
Infrastructure\PageActionInvokerTest.cs (1)
1719private class TestPageModel : PageModel
Infrastructure\PageBinderFactoryTest.cs (3)
844private class PageModelWithNoBoundProperties : PageModel 870private class PageModelWithNoVisibleBoundProperties : PageModel 916private class PageModelWithProperty : PageModel
PageModelTest.cs (3)
2045private class ContentPageModel : PageModel 2068private class StatusCodePageModel : PageModel 2081private class TestPageModel : PageModel
Mvc.Api.Analyzers.Test (3)
TestFiles\ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest\NoDiagnosticsAreReturned_ForRazorPageModels.cs (1)
8public class Home : PageModel
TestFiles\ApiControllerFactsTest\TestFile.cs (1)
8public class ApiConventionAnalyzerTest_IndexModel : PageModel
TestFiles\ApiConventionAnalyzerIntegrationTest\NoDiagnosticsAreReturned_ForRazorPageModels.cs (1)
8public class Home : PageModel
Mvc.RoutingWebSite (5)
Areas\Admin\Pages\LGAreaPage.cshtml.cs (1)
8public class LGAreaPageModel : PageModel
Pages\DynamicPage.cshtml.cs (1)
8public class DynamicPageModel : PageModel
Pages\FallbackPage.cshtml.cs (1)
8public class FallbackPageModel : PageModel
Pages\LGAnotherPage.cshtml.cs (1)
9public class LGAnotherPageModel : PageModel
Pages\LGPage.cshtml.cs (1)
9public class LGPageModel : PageModel
MvcSandbox (1)
Pages\PagesHome.cshtml.cs (1)
9public class PagesHome : PageModel
RazorBuildWebSite.Views (1)
Pages\Rzc\Page_Model.cs (1)
8public class Page_Model : PageModel
RazorPagesWebSite (35)
HelloWorldWithPageModelHandler.cs (1)
8public class HelloWorldWithPageModelHandler : PageModel
ModelAsFilter.cs (1)
10public class ModelAsFilter : PageModel, IResultFilter
ModelHandlerTestModel.cs (1)
9public class ModelHandlerTestModel : PageModel
ModelWithPageFilter.cs (1)
10public class ModelWithPageFilter : PageModel
ModelWithResponseCache.cs (1)
10public class ModelWithResponseCache : PageModel
Pages\Antiforgery\AntiforgeryDefault.cshtml.cs (1)
8public class AntiforgeryDefaultModel : PageModel
Pages\Antiforgery\IgnoreAntiforgery.cshtml.cs (1)
10public class IgnoreAntiforgeryModel : PageModel
Pages\Conventions\AuthFolder\AnonymousModel.cs (1)
10public class AnonymousModel : PageModel
Pages\CustomBaseType\PageWithModel.cs (1)
7public class PageWithModel : PageModel
Pages\CustomModelTypeModel.cshtml.cs (1)
11public class CustomModelTypeModel : PageModel
Pages\Filters\AuthFilterOnPageWithModel.cs (1)
10public class AuthFilterOnPageWithModel : PageModel
Pages\Filters\FiltersAppliedToPageAndPageModel.cs (1)
10public class FiltersAppliedToPageAndPageModel : PageModel
Pages\HandlerWithParameter.cshtml.cs (1)
9public class HandlerWithParameterModel : PageModel
Pages\Localized\PageWithModel.cs (1)
9public class PageWithModel : PageModel
Pages\ModelWithAuthFilter.cs (1)
11public class ModelWithAuthFilter : PageModel
Pages\PropertyBinding\BindFormFile.cshtml.cs (1)
10public class BindFormFile : PageModel
Pages\PropertyBinding\BindPropertiesOnModel.cs (1)
10public class BindPropertiesOnModel : PageModel
Pages\PropertyBinding\BindPropertiesWithSupportsGetOnModel.cs (1)
10public class BindPropertiesWithSupportsGetOnModel : PageModel
Pages\PropertyBinding\PageModelWithPropertyAndArgumentBinding.cs (1)
9public class PageModelWithPropertyAndArgumentBinding : PageModel
Pages\PropertyBinding\PageModelWithPropertyBinding.cs (1)
9public class PageModelWithPropertyBinding : PageModel
Pages\PropertyBinding\PolymorphicBinding.cs (1)
9public class PolymorphicBinding : PageModel
Pages\Redirects\RedirectFromModel.cs (1)
9public class RedirectFromModel : PageModel
Pages\ShortCircuitPageAtAuthFilter.cshtml.cs (1)
12public class ShortCircuitAtAuthFilterPageModel : PageModel
Pages\ShortCircuitPageAtPageFilter.cshtml.cs (1)
12public class ShortCircuitAtPageFilterPageModel : PageModel
Pages\TryUpdateModelPageModel.cs (1)
8public class TryUpdateModelPageModel : PageModel
Pages\TryValidateModelPageModel.cs (1)
9public class TryValidateModelPageModel : PageModel
Pages\Validation\PageWithCompareValidation.cs (1)
10public class PageWithCompareValidation : PageModel
Pages\Validation\PageWithValidation.cs (1)
10public class PageWithValidation : PageModel
Pages\ViewData\ViewDataInPage.cs (1)
10public class ViewDataInPage : PageModel
Pages\ViewData\ViewDataSetInViewStart\Index.cs (1)
9public class Index : PageModel
Pages\ViewData\ViewDataToViewComponentPage.cs (1)
10public class ViewDataToViewComponentPage : PageModel
Pages\ViewDataAvailableAfterHandlerExecuted.cshtml.cs (1)
11public class ViewDataAvailableAfterHandlerExecutedModel : PageModel
RenderPartial.cshtml.cs (1)
10public class RenderPartialWithModel : PageModel
TempData\SetTempDataOnPageModelAndRedirect.cs (1)
9public class SetTempDataOnPageModelAndRedirect : PageModel
TempData\TempDataPageModel.cs (1)
9public class TempDataPageModel : PageModel
SecurityWebSite (4)
Pages\AllowAnonymousPageViaConvention.cshtml.cs (1)
9public class AllowAnonymousPageViaConvention : PageModel
Pages\AllowAnonymousPageViaModel.cshtml.cs (1)
11public class AllowAnonymousPageViaModel : PageModel
Pages\AuthorizePageViaConvention.cshtml.cs (1)
9public class AuthorizePageViaConvention : PageModel
Pages\AuthorizePageViaModel.cshtml.cs (1)
11public class AuthorizePageViaModel : PageModel
SignalRWeb (1)
Pages\Index.cshtml.cs (1)
5public class IndexModel : PageModel
WebPubSubWeb (1)
Pages\Index.cshtml.cs (1)
5public class IndexModel : PageModel
11 references to PageModel
Microsoft.AspNetCore.Mvc.RazorPages (6)
ApplicationModels\DefaultPageApplicationModelPartsProvider.cs (1)
203if (declaringType == typeof(PageModel))
PageModel.cs (5)
179/// Updates the specified <paramref name="model"/> instance using values from the <see cref="PageModel"/>'s current 194/// Updates the specified <paramref name="model"/> instance using values from the <see cref="PageModel"/>'s current 247/// Updates the specified <paramref name="model"/> instance using values from the <see cref="PageModel"/>'s current 284/// Updates the specified <paramref name="model"/> instance using values from the <see cref="PageModel"/>'s current 387/// Updates the specified <paramref name="model"/> instance using values from the <see cref="PageModel"/>'s current
Microsoft.AspNetCore.Mvc.RazorPages.Test (5)
Filters\PageHandlerResultFilterTest.cs (1)
23var model = new Mock<PageModel>();
Infrastructure\PageHandlerPageFilterTest.cs (1)
23var model = new Mock<PageModel>();
PageModelTest.cs (3)
1862var testPageModel = new Mock<PageModel> { CallBase = true }; 1896var testPageModel = new Mock<PageModel>() { CallBase = true }; 1925var testPageModel = new Mock<PageModel> { CallBase = true };