8 writes to ViewData
Microsoft.AspNetCore.Mvc.RazorPages (4)
PageBase.cs (2)
1241ViewData = ViewContext.ViewData, 1263ViewData = ViewContext.ViewData,
PageModel.cs (2)
1599ViewData = ViewData, 1621ViewData = ViewData,
Microsoft.AspNetCore.Mvc.ViewFeatures (2)
Controller.cs (2)
253ViewData = ViewData, 276ViewData = ViewData,
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (2)
ViewComponentResultTest.cs (2)
40ViewData = new ViewDataDictionary(new EmptyModelMetadataProvider()) 88ViewData = null,
7 references to ViewData
Microsoft.AspNetCore.Mvc.RazorPages.Test (5)
PageModelTest.cs (2)
2003Assert.Same(viewData, result.ViewData); 2025Assert.Same(viewData, result.ViewData);
PageTest.cs (3)
1778Assert.Same(viewData, result.ViewData); 1800Assert.Same(viewData, result.ViewData); 1826Assert.Same(viewData, result.ViewData);
Microsoft.AspNetCore.Mvc.ViewFeatures (2)
ViewComponentResult.cs (1)
41public object? Model => ViewData?.Model;
ViewComponentResultExecutor.cs (1)
74var viewData = result.ViewData;