6 references to Model
Microsoft.AspNetCore.Mvc.RazorPages (2)
Infrastructure\PageResultExecutor.cs (2)
56if (result.Model != null) 58pageContext.ViewData.Model = result.Model;
Microsoft.AspNetCore.Mvc.RazorPages.Test (4)
Infrastructure\PageActionInvokerTest.cs (4)
205Assert.Same(page, pageResult.Model); 261Assert.Null(pageResult.Model); 321Assert.Same(pageModel, pageResult.Model); 482Assert.IsType<TestPage>(pageResult.Model);