30 references to RazorPageResult
Microsoft.AspNetCore.Mvc.Razor (2)
Microsoft.AspNetCore.Mvc.Razor.Test (28)
RazorViewTest.cs (28)
186.Returns(new RazorPageResult(LayoutPath, layout));
261.Returns(new RazorPageResult(LayoutPath, layout));
441.Returns(new RazorPageResult(layoutPath, layout));
495.Returns(new RazorPageResult(layoutPath, layout));
692.Returns(new RazorPageResult(LayoutPath, layout))
734.Returns(new RazorPageResult(LayoutPath, layout));
798.Returns(new RazorPageResult("~/Shared/Layout1.cshtml", nestedLayout));
801.Returns(new RazorPageResult("~/Shared/Layout2.cshtml", baseLayout));
864.Returns(new RazorPageResult("NestedLayout", nestedLayout));
870.Returns(new RazorPageResult("Layout", baseLayout));
930.Returns(new RazorPageResult("~/Shared/Layout1.cshtml", nestedLayout));
933.Returns(new RazorPageResult("~/Shared/Layout2.cshtml", baseLayout));
999.Returns(new RazorPageResult("~/Shared/Layout1.cshtml", nestedLayout));
1002.Returns(new RazorPageResult("~/Shared/Layout2.cshtml", baseLayout));
1037.Returns(new RazorPageResult(LayoutPath, layout));
1102.Returns(new RazorPageResult("~/Shared/Layout1.cshtml", layout1));
1105.Returns(new RazorPageResult("~/Shared/Layout2.cshtml", layout2));
1176.Returns(new RazorPageResult("~/Shared/Layout1.cshtml", layout1));
1179.Returns(new RazorPageResult("~/Shared/Layout2.cshtml", layout2));
1220.Returns(new RazorPageResult("_Layout", layout));
1268.Returns(new RazorPageResult("_Layout", layout1));
1274.Returns(new RazorPageResult("_Layout2", layout2));
1341.Returns(new RazorPageResult("~/Shared/Layout1.cshtml", nestedLayout));
1344.Returns(new RazorPageResult("~/Shared/Layout2.cshtml", baseLayout));
1402.Returns(new RazorPageResult("layout-1", layout1));
1457.Returns(new RazorPageResult("layout-1", layout1));
1535.Returns(new RazorPageResult(layoutPath, layoutPage));
1760.Returns(new RazorPageResult(LayoutPath, layout));