11 writes to ViewData
Microsoft.AspNetCore.Mvc.RazorPages (3)
Infrastructure\PageActionInvokerProvider.cs (1)
91
ViewData
= cacheEntry.ViewDataFactory(_modelMetadataProvider, actionContext.ModelState),
Infrastructure\PageRequestDelegateFactory.cs (1)
105
pageContext.
ViewData
= cacheEntry.ViewDataFactory(_modelMetadataProvider, pageContext.ModelState);
Infrastructure\PageResultExecutor.cs (1)
90
pageContext.
ViewData
= currentViewContext.ViewData;
Microsoft.AspNetCore.Mvc.RazorPages.Test (8)
Infrastructure\DefaultPageFactoryProviderTest.cs (1)
221
ViewData
= new ViewDataDictionary<TestPage>(modelMetadataProvider, new ModelStateDictionary())
Infrastructure\PageActionInvokerTest.cs (1)
1514
pageContext.
ViewData
= viewDataFactory(new EmptyModelMetadataProvider(), pageContext.ModelState);
PageModelTest.cs (5)
1729
ViewData
= viewData,
1945
ViewData
= viewData
1969
ViewData
= viewData
1993
ViewData
= viewData,
2015
ViewData
= viewData,
PageTest.cs (1)
31
ViewData
= viewData,
98 references to ViewData
BlazorServerApp (1)
artifacts\obj\BlazorServerApp\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Pages__Host_cshtml.g.cs (1)
124
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<Pages__Host> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<Pages__Host>)PageContext?.
ViewData
!;
BrowserTelemetry.Web (1)
Pages_Index_cshtml.g.cs (1)
55
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<Pages_Index> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<Pages_Index>)PageContext?.
ViewData
;
DynamicSchemes (4)
artifacts\obj\DynamicSchemes\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Pages_About_cshtml.g.cs (1)
85
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<AboutModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<AboutModel>)PageContext?.
ViewData
!;
artifacts\obj\DynamicSchemes\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Pages_Contact_cshtml.g.cs (1)
98
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<ContactModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<ContactModel>)PageContext?.
ViewData
!;
artifacts\obj\DynamicSchemes\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Pages_Error_cshtml.g.cs (1)
102
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<ErrorModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<ErrorModel>)PageContext?.
ViewData
!;
artifacts\obj\DynamicSchemes\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Pages_Index_cshtml.g.cs (1)
278
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<IndexModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<IndexModel>)PageContext?.
ViewData
!;
HostedBlazorWebassemblyApp.Server (2)
artifacts\obj\HostedBlazorWebassemblyApp.Server\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Pages__Host_cshtml.g.cs (1)
172
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<Pages__Host> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<Pages__Host>)PageContext?.
ViewData
!;
artifacts\obj\HostedBlazorWebassemblyApp.Server\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Pages_Error_cshtml.g.cs (1)
176
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<HostedBlazorWebassemblyApp.Server.Pages.ErrorModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<HostedBlazorWebassemblyApp.Server.Pages.ErrorModel>)PageContext?.
ViewData
!;
Microsoft.AspNetCore.Identity.UI (62)
Areas_Identity_Pages_V4_Account_AccessDenied_cshtml.g.cs (1)
75
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<AccessDeniedModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<AccessDeniedModel>)PageContext?.
ViewData
!;
Areas_Identity_Pages_V4_Account_ConfirmEmail_cshtml.g.cs (1)
122
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<ConfirmEmailModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<ConfirmEmailModel>)PageContext?.
ViewData
!;
Areas_Identity_Pages_V4_Account_ConfirmEmailChange_cshtml.g.cs (1)
122
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<ConfirmEmailChangeModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<ConfirmEmailChangeModel>)PageContext?.
ViewData
!;
Areas_Identity_Pages_V4_Account_ExternalLogin_cshtml.g.cs (1)
280
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<ExternalLoginModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<ExternalLoginModel>)PageContext?.
ViewData
!;
Areas_Identity_Pages_V4_Account_ForgotPassword_cshtml.g.cs (1)
242
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<ForgotPasswordModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<ForgotPasswordModel>)PageContext?.
ViewData
!;
Areas_Identity_Pages_V4_Account_ForgotPasswordConfirmation_cshtml.g.cs (1)
75
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<ForgotPasswordConfirmation> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<ForgotPasswordConfirmation>)PageContext?.
ViewData
!;
Areas_Identity_Pages_V4_Account_Lockout_cshtml.g.cs (1)
75
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<LockoutModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<LockoutModel>)PageContext?.
ViewData
!;
Areas_Identity_Pages_V4_Account_Login_cshtml.g.cs (1)
594
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<LoginModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<LoginModel>)PageContext?.
ViewData
!;
Areas_Identity_Pages_V4_Account_LoginWith2fa_cshtml.g.cs (1)
377
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<LoginWith2faModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<LoginWith2faModel>)PageContext?.
ViewData
!;
Areas_Identity_Pages_V4_Account_LoginWithRecoveryCode_cshtml.g.cs (1)
248
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<LoginWithRecoveryCodeModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<LoginWithRecoveryCodeModel>)PageContext?.
ViewData
!;
Areas_Identity_Pages_V4_Account_Logout_cshtml.g.cs (1)
173
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<LogoutModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<LogoutModel>)PageContext?.
ViewData
!;
Areas_Identity_Pages_V4_Account_Manage_ChangePassword_cshtml.g.cs (1)
424
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<ChangePasswordModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<ChangePasswordModel>)PageContext?.
ViewData
!;
Areas_Identity_Pages_V4_Account_Manage_DeletePersonalData_cshtml.g.cs (1)
272
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<DeletePersonalDataModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<DeletePersonalDataModel>)PageContext?.
ViewData
!;
Areas_Identity_Pages_V4_Account_Manage_Disable2fa_cshtml.g.cs (1)
178
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<Disable2faModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<Disable2faModel>)PageContext?.
ViewData
!;
Areas_Identity_Pages_V4_Account_Manage_DownloadPersonalData_cshtml.g.cs (1)
123
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<DownloadPersonalDataModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<DownloadPersonalDataModel>)PageContext?.
ViewData
!;
Areas_Identity_Pages_V4_Account_Manage_Email_cshtml.g.cs (1)
430
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<EmailModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<EmailModel>)PageContext?.
ViewData
!;
Areas_Identity_Pages_V4_Account_Manage_EnableAuthenticator_cshtml.g.cs (1)
325
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<EnableAuthenticatorModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<EnableAuthenticatorModel>)PageContext?.
ViewData
!;
Areas_Identity_Pages_V4_Account_Manage_ExternalLogins_cshtml.g.cs (1)
432
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<ExternalLoginsModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<ExternalLoginsModel>)PageContext?.
ViewData
!;
Areas_Identity_Pages_V4_Account_Manage_GenerateRecoveryCodes_cshtml.g.cs (1)
181
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<GenerateRecoveryCodesModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<GenerateRecoveryCodesModel>)PageContext?.
ViewData
!;
Areas_Identity_Pages_V4_Account_Manage_Index_cshtml.g.cs (1)
323
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<IndexModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<IndexModel>)PageContext?.
ViewData
!;
Areas_Identity_Pages_V4_Account_Manage_PersonalData_cshtml.g.cs (1)
183
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<PersonalDataModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<PersonalDataModel>)PageContext?.
ViewData
!;
Areas_Identity_Pages_V4_Account_Manage_ResetAuthenticator_cshtml.g.cs (1)
166
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<ResetAuthenticatorModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<ResetAuthenticatorModel>)PageContext?.
ViewData
!;
Areas_Identity_Pages_V4_Account_Manage_SetPassword_cshtml.g.cs (1)
337
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<SetPasswordModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<SetPasswordModel>)PageContext?.
ViewData
!;
Areas_Identity_Pages_V4_Account_Manage_ShowRecoveryCodes_cshtml.g.cs (1)
181
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<ShowRecoveryCodesModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<ShowRecoveryCodesModel>)PageContext?.
ViewData
!;
Areas_Identity_Pages_V4_Account_Manage_TwoFactorAuthentication_cshtml.g.cs (1)
466
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<TwoFactorAuthenticationModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<TwoFactorAuthenticationModel>)PageContext?.
ViewData
!;
Areas_Identity_Pages_V4_Account_Register_cshtml.g.cs (1)
545
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<RegisterModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<RegisterModel>)PageContext?.
ViewData
!;
Areas_Identity_Pages_V4_Account_RegisterConfirmation_cshtml.g.cs (1)
118
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<RegisterConfirmationModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<RegisterConfirmationModel>)PageContext?.
ViewData
!;
Areas_Identity_Pages_V4_Account_ResendEmailConfirmation_cshtml.g.cs (1)
240
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<ResendEmailConfirmationModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<ResendEmailConfirmationModel>)PageContext?.
ViewData
!;
Areas_Identity_Pages_V4_Account_ResetPassword_cshtml.g.cs (1)
415
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<ResetPasswordModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<ResetPasswordModel>)PageContext?.
ViewData
!;
Areas_Identity_Pages_V4_Account_ResetPasswordConfirmation_cshtml.g.cs (1)
113
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<ResetPasswordConfirmationModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<ResetPasswordConfirmationModel>)PageContext?.
ViewData
!;
Areas_Identity_Pages_V4_Error_cshtml.g.cs (1)
96
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<ErrorModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<ErrorModel>)PageContext?.
ViewData
!;
Areas_Identity_Pages_V5_Account_AccessDenied_cshtml.g.cs (1)
75
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<AccessDeniedModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<AccessDeniedModel>)PageContext?.
ViewData
!;
Areas_Identity_Pages_V5_Account_ConfirmEmail_cshtml.g.cs (1)
122
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<ConfirmEmailModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<ConfirmEmailModel>)PageContext?.
ViewData
!;
Areas_Identity_Pages_V5_Account_ConfirmEmailChange_cshtml.g.cs (1)
122
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<ConfirmEmailChangeModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<ConfirmEmailChangeModel>)PageContext?.
ViewData
!;
Areas_Identity_Pages_V5_Account_ExternalLogin_cshtml.g.cs (1)
286
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<ExternalLoginModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<ExternalLoginModel>)PageContext?.
ViewData
!;
Areas_Identity_Pages_V5_Account_ForgotPassword_cshtml.g.cs (1)
248
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<ForgotPasswordModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<ForgotPasswordModel>)PageContext?.
ViewData
!;
Areas_Identity_Pages_V5_Account_ForgotPasswordConfirmation_cshtml.g.cs (1)
75
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<ForgotPasswordConfirmation> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<ForgotPasswordConfirmation>)PageContext?.
ViewData
!;
Areas_Identity_Pages_V5_Account_Lockout_cshtml.g.cs (1)
75
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<LockoutModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<LockoutModel>)PageContext?.
ViewData
!;
Areas_Identity_Pages_V5_Account_Login_cshtml.g.cs (1)
607
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<LoginModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<LoginModel>)PageContext?.
ViewData
!;
Areas_Identity_Pages_V5_Account_LoginWith2fa_cshtml.g.cs (1)
382
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<LoginWith2faModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<LoginWith2faModel>)PageContext?.
ViewData
!;
Areas_Identity_Pages_V5_Account_LoginWithRecoveryCode_cshtml.g.cs (1)
254
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<LoginWithRecoveryCodeModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<LoginWithRecoveryCodeModel>)PageContext?.
ViewData
!;
Areas_Identity_Pages_V5_Account_Logout_cshtml.g.cs (1)
173
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<LogoutModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<LogoutModel>)PageContext?.
ViewData
!;
Areas_Identity_Pages_V5_Account_Manage_ChangePassword_cshtml.g.cs (1)
435
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<ChangePasswordModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<ChangePasswordModel>)PageContext?.
ViewData
!;
Areas_Identity_Pages_V5_Account_Manage_DeletePersonalData_cshtml.g.cs (1)
276
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<DeletePersonalDataModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<DeletePersonalDataModel>)PageContext?.
ViewData
!;
Areas_Identity_Pages_V5_Account_Manage_Disable2fa_cshtml.g.cs (1)
176
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<Disable2faModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<Disable2faModel>)PageContext?.
ViewData
!;
Areas_Identity_Pages_V5_Account_Manage_DownloadPersonalData_cshtml.g.cs (1)
123
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<DownloadPersonalDataModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<DownloadPersonalDataModel>)PageContext?.
ViewData
!;
Areas_Identity_Pages_V5_Account_Manage_Email_cshtml.g.cs (1)
464
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<EmailModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<EmailModel>)PageContext?.
ViewData
!;
Areas_Identity_Pages_V5_Account_Manage_EnableAuthenticator_cshtml.g.cs (1)
329
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<EnableAuthenticatorModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<EnableAuthenticatorModel>)PageContext?.
ViewData
!;
Areas_Identity_Pages_V5_Account_Manage_ExternalLogins_cshtml.g.cs (1)
432
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<ExternalLoginsModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<ExternalLoginsModel>)PageContext?.
ViewData
!;
Areas_Identity_Pages_V5_Account_Manage_GenerateRecoveryCodes_cshtml.g.cs (1)
179
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<GenerateRecoveryCodesModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<GenerateRecoveryCodesModel>)PageContext?.
ViewData
!;
Areas_Identity_Pages_V5_Account_Manage_Index_cshtml.g.cs (1)
332
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<IndexModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<IndexModel>)PageContext?.
ViewData
!;
Areas_Identity_Pages_V5_Account_Manage_PersonalData_cshtml.g.cs (1)
181
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<PersonalDataModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<PersonalDataModel>)PageContext?.
ViewData
!;
Areas_Identity_Pages_V5_Account_Manage_ResetAuthenticator_cshtml.g.cs (1)
164
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<ResetAuthenticatorModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<ResetAuthenticatorModel>)PageContext?.
ViewData
!;
Areas_Identity_Pages_V5_Account_Manage_SetPassword_cshtml.g.cs (1)
345
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<SetPasswordModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<SetPasswordModel>)PageContext?.
ViewData
!;
Areas_Identity_Pages_V5_Account_Manage_ShowRecoveryCodes_cshtml.g.cs (1)
181
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<ShowRecoveryCodesModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<ShowRecoveryCodesModel>)PageContext?.
ViewData
!;
Areas_Identity_Pages_V5_Account_Manage_TwoFactorAuthentication_cshtml.g.cs (1)
466
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<TwoFactorAuthenticationModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<TwoFactorAuthenticationModel>)PageContext?.
ViewData
!;
Areas_Identity_Pages_V5_Account_Register_cshtml.g.cs (1)
555
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<RegisterModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<RegisterModel>)PageContext?.
ViewData
!;
Areas_Identity_Pages_V5_Account_RegisterConfirmation_cshtml.g.cs (1)
118
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<RegisterConfirmationModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<RegisterConfirmationModel>)PageContext?.
ViewData
!;
Areas_Identity_Pages_V5_Account_ResendEmailConfirmation_cshtml.g.cs (1)
246
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<ResendEmailConfirmationModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<ResendEmailConfirmationModel>)PageContext?.
ViewData
!;
Areas_Identity_Pages_V5_Account_ResetPassword_cshtml.g.cs (1)
427
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<ResetPasswordModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<ResetPasswordModel>)PageContext?.
ViewData
!;
Areas_Identity_Pages_V5_Account_ResetPasswordConfirmation_cshtml.g.cs (1)
113
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<ResetPasswordConfirmationModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<ResetPasswordConfirmationModel>)PageContext?.
ViewData
!;
Areas_Identity_Pages_V5_Error_cshtml.g.cs (1)
96
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<ErrorModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<ErrorModel>)PageContext?.
ViewData
!;
Microsoft.AspNetCore.Mvc.RazorPages (9)
Infrastructure\PageActionInvoker.cs (6)
115
_pageContext.
ViewData
,
127
pageResult.ViewData = pageResult.ViewData ?? _pageContext.
ViewData
;
144
_pageContext.
ViewData
.Model = _pageModel;
154
_pageContext.
ViewData
,
168
_pageContext.
ViewData
.Model = _page;
297
pageResult.ViewData = pageResult.ViewData ?? _pageContext.
ViewData
;
Infrastructure\PageResultExecutor.cs (2)
58
pageContext.
ViewData
.Model = result.Model;
100
viewDataValuesProvider?.ProvideViewDataValues(pageContext.
ViewData
);
PageModel.cs (1)
150
public ViewDataDictionary ViewData => PageContext?.
ViewData
!;
Microsoft.AspNetCore.Mvc.RazorPages.Test (7)
Infrastructure\DefaultPageFactoryProviderTest.cs (2)
230
ViewData = pageContext.
ViewData
,
242
Assert.Same(pageContext.
ViewData
, testPage.ViewData);
Infrastructure\PageActionInvokerProviderTest.cs (1)
145
Assert.NotNull(Assert.IsType<ViewDataDictionary<TestPageModel>>(pageContext.
ViewData
));
Infrastructure\PageActionInvokerTest.cs (4)
256
Assert.IsType<ViewDataDictionary<PocoModel>>(page.PageContext.
ViewData
);
257
Assert.Null(page.PageContext.
ViewData
.Model);
316
Assert.IsType<ViewDataDictionary<TestPageModel>>(pageModel.PageContext.
ViewData
);
322
Assert.Same(pageModel.PageContext.
ViewData
, pageResult.ViewData);
MvcSandbox (1)
artifacts\obj\MvcSandbox\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Pages_PagesHome_cshtml.g.cs (1)
72
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<PagesHome> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<PagesHome>)PageContext?.
ViewData
!;
RazorBuildWebSite.Views (1)
Pages\Rzc\Page.cs (1)
37
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<Page_Model> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<Page_Model>)PageContext?.
ViewData
;
RazorPagesClassLibrary (2)
artifacts\obj\RazorPagesClassLibrary\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Pages_ClassLibraryPages_Overriden_cshtml.g.cs (1)
57
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<Pages_ClassLibraryPages_Overriden> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<Pages_ClassLibraryPages_Overriden>)PageContext?.
ViewData
!;
artifacts\obj\RazorPagesClassLibrary\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Pages_ClassLibraryPages_Served_cshtml.g.cs (1)
50
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<Pages_ClassLibraryPages_Served> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<Pages_ClassLibraryPages_Served>)PageContext?.
ViewData
!;
SecurityWebSite (5)
artifacts\obj\SecurityWebSite\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Pages_AllowAnonymousPageViaConvention_cshtml.g.cs (1)
49
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<AllowAnonymousPageViaConvention> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<AllowAnonymousPageViaConvention>)PageContext?.
ViewData
!;
artifacts\obj\SecurityWebSite\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Pages_AllowAnonymousPageViaModel_cshtml.g.cs (1)
49
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<AllowAnonymousPageViaModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<AllowAnonymousPageViaModel>)PageContext?.
ViewData
!;
artifacts\obj\SecurityWebSite\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Pages_AuthorizePageViaConvention_cshtml.g.cs (1)
49
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<AuthorizePageViaConvention> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<AuthorizePageViaConvention>)PageContext?.
ViewData
!;
artifacts\obj\SecurityWebSite\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Pages_AuthorizePageViaModel_cshtml.g.cs (1)
49
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<AuthorizePageViaModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<AuthorizePageViaModel>)PageContext?.
ViewData
!;
artifacts\obj\SecurityWebSite\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Pages_PagesHome_cshtml.g.cs (1)
50
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<Pages_PagesHome> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<Pages_PagesHome>)PageContext?.
ViewData
!;
SignalRServerlessWeb (1)
Pages_Index_cshtml.g.cs (1)
55
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<Pages_Index> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<Pages_Index>)PageContext?.
ViewData
;
SignalRWeb (1)
Pages_Index_cshtml.g.cs (1)
55
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<Pages_Index> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<Pages_Index>)PageContext?.
ViewData
;
WebPubSubWeb (1)
Pages_Index_cshtml.g.cs (1)
55
public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<Pages_Index> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<Pages_Index>)PageContext?.
ViewData
;