1 implementation of GetPage
Microsoft.AspNetCore.Mvc.Razor (1)
RazorViewEngine.cs (1)
131public RazorPageResult GetPage(string executingFilePath, string pagePath)
32 references to GetPage
Microsoft.AspNetCore.Mvc.Razor (2)
IRazorViewEngine.cs (1)
21/// <remarks>Use <see cref="GetPage(string, string)"/> when the absolute or relative
RazorView.cs (1)
271var layoutPageResult = _viewEngine.GetPage(executingFilePath, layoutPath);
Microsoft.AspNetCore.Mvc.Razor.Test (30)
RazorViewTest.cs (30)
185.Setup(v => v.GetPage(pagePath, LayoutPath)) 260.Setup(v => v.GetPage(/*executingFilePath*/ null, LayoutPath)) 440.Setup(engine => engine.GetPage(path, layoutPath)) 494.Setup(engine => engine.GetPage(path, layoutPath)) 540.Setup(v => v.GetPage(/*executingFilePath*/ null, layoutPath)) 583.Setup(v => v.GetPage(/*executingFilePath*/ null, layoutPath)) 628.Setup(v => v.GetPage(/*executingFilePath*/ null, layoutPath)) 691.Setup(v => v.GetPage(/*executingFilePath*/ null, LayoutPath)) 733.Setup(v => v.GetPage(/*executingFilePath*/ null, LayoutPath)) 797.Setup(v => v.GetPage(/*executingFilePath*/ null, "~/Shared/Layout1.cshtml")) 800.Setup(v => v.GetPage("/Shared/Layout1.cshtml", "~/Shared/Layout2.cshtml")) 860.Setup(v => v.GetPage(/*executingFilePath*/ null, "NestedLayout")) 866.Setup(v => v.GetPage("NestedLayout", "Layout")) 929.Setup(v => v.GetPage(/*executingFilePath*/ null, "~/Shared/Layout1.cshtml")) 932.Setup(v => v.GetPage("/Shared/Layout1.cshtml", "~/Shared/Layout2.cshtml")) 998.Setup(p => p.GetPage("Page", "~/Shared/Layout1.cshtml")) 1001.Setup(p => p.GetPage("/Shared/Layout1.cshtml", "~/Shared/Layout2.cshtml")) 1036.Setup(p => p.GetPage(/*executingFilePath*/ null, LayoutPath)) 1101.Setup(p => p.GetPage(/*executingFilePath*/ null, "~/Shared/Layout1.cshtml")) 1104.Setup(p => p.GetPage("~/Shared/Layout1.cshtml", "~/Shared/Layout2.cshtml")) 1175.Setup(p => p.GetPage("~/Shared/Page.cshtml", "Layout1.cshtml")) 1178.Setup(p => p.GetPage("~/Shared/Layout1.cshtml", "Layout2.cshtml")) 1216.Setup(p => p.GetPage(It.IsAny<string>(), "_Layout")) 1264.Setup(p => p.GetPage(It.IsAny<string>(), "_Layout")) 1270.Setup(p => p.GetPage("Shared/_Layout.cshtml", "_Layout2")) 1340.Setup(p => p.GetPage(/*executingFilePath*/ null, "~/Shared/Layout1.cshtml")) 1343.Setup(p => p.GetPage("~/Shared/Layout1.cshtml", "~/Shared/Layout2.cshtml")) 1398.Setup(p => p.GetPage(/*executingFilePath*/ null, "layout-1")) 1453.Setup(p => p.GetPage(/*executingFilePath*/ null, "layout-1")) 1534.Setup(p => p.GetPage("/Views/TestPath/Test.cshtml", layoutPath))