11 writes to ViewData
Microsoft.AspNetCore.Mvc.RazorPages (3)
Infrastructure\PageActionInvokerProvider.cs (1)
91ViewData = cacheEntry.ViewDataFactory(_modelMetadataProvider, actionContext.ModelState),
Infrastructure\PageRequestDelegateFactory.cs (1)
105pageContext.ViewData = cacheEntry.ViewDataFactory(_modelMetadataProvider, pageContext.ModelState);
Infrastructure\PageResultExecutor.cs (1)
90pageContext.ViewData = currentViewContext.ViewData;
Microsoft.AspNetCore.Mvc.RazorPages.Test (8)
Infrastructure\DefaultPageFactoryProviderTest.cs (1)
221ViewData = new ViewDataDictionary<TestPage>(modelMetadataProvider, new ModelStateDictionary())
Infrastructure\PageActionInvokerTest.cs (1)
1514pageContext.ViewData = viewDataFactory(new EmptyModelMetadataProvider(), pageContext.ModelState);
PageModelTest.cs (5)
1729ViewData = viewData, 1945ViewData = viewData 1969ViewData = viewData 1993ViewData = viewData, 2015ViewData = viewData,
PageTest.cs (1)
31ViewData = 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)
124public 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)
55public 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)
85public 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)
98public 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)
102public 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)
278public 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)
172public 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)
176public 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)
75public 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)
122public 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)
122public 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)
280public 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)
242public 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)
75public 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)
75public 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)
594public 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)
377public 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)
248public 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)
173public 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)
424public 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)
272public 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)
178public 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)
123public 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)
430public 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)
325public 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)
432public 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)
181public 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)
323public 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)
183public 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)
166public 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)
337public 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)
181public 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)
466public 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)
545public 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)
118public 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)
240public 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)
415public 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)
113public 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)
96public 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)
75public 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)
122public 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)
122public 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)
286public 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)
248public 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)
75public 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)
75public 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)
607public 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)
382public 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)
254public 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)
173public 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)
435public 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)
276public 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)
176public 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)
123public 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)
464public 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)
329public 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)
432public 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)
179public 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)
332public 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)
181public 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)
164public 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)
345public 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)
181public 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)
466public 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)
555public 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)
118public 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)
246public 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)
427public 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)
113public 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)
96public 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, 127pageResult.ViewData = pageResult.ViewData ?? _pageContext.ViewData; 144_pageContext.ViewData.Model = _pageModel; 154_pageContext.ViewData, 168_pageContext.ViewData.Model = _page; 297pageResult.ViewData = pageResult.ViewData ?? _pageContext.ViewData;
Infrastructure\PageResultExecutor.cs (2)
58pageContext.ViewData.Model = result.Model; 100viewDataValuesProvider?.ProvideViewDataValues(pageContext.ViewData);
PageModel.cs (1)
150public ViewDataDictionary ViewData => PageContext?.ViewData!;
Microsoft.AspNetCore.Mvc.RazorPages.Test (7)
Infrastructure\DefaultPageFactoryProviderTest.cs (2)
230ViewData = pageContext.ViewData, 242Assert.Same(pageContext.ViewData, testPage.ViewData);
Infrastructure\PageActionInvokerProviderTest.cs (1)
145Assert.NotNull(Assert.IsType<ViewDataDictionary<TestPageModel>>(pageContext.ViewData));
Infrastructure\PageActionInvokerTest.cs (4)
256Assert.IsType<ViewDataDictionary<PocoModel>>(page.PageContext.ViewData); 257Assert.Null(page.PageContext.ViewData.Model); 316Assert.IsType<ViewDataDictionary<TestPageModel>>(pageModel.PageContext.ViewData); 322Assert.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)
72public 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)
37public 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)
57public 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)
50public 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)
49public 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)
49public 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)
49public 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)
49public 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)
50public 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)
55public 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)
55public 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)
55public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<Pages_Index> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<Pages_Index>)PageContext?.ViewData;