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