6 references to ViewData
Microsoft.AspNetCore.Mvc.RazorPages (3)
PageModel.cs (3)
1543var viewData = new ViewDataDictionary(MetadataProvider, ViewData.ModelState) 1599ViewData = ViewData, 1621ViewData = ViewData,
Microsoft.AspNetCore.Mvc.RazorPages.Test (2)
Infrastructure\PageActionInvokerTest.cs (1)
317Assert.Same(pageModel, pageModel.ViewData.Model);
PageModelTest.cs (1)
1748Assert.Same(viewData, pageModel.ViewData);
RazorPagesWebSite (1)
Pages\CustomModelTypeModel.cshtml.cs (1)
70ViewData["UserType"] = typeof(TUser).Name;