1 implementation of GetAbsolutePath
Microsoft.AspNetCore.Mvc.Razor (1)
RazorViewEngine.cs (1)
276public string? GetAbsolutePath(string? executingFilePath, string? pagePath)
11 references to GetAbsolutePath
Microsoft.AspNetCore.Mvc.Razor (1)
RazorView.cs (1)
179layout = _viewEngine.GetAbsolutePath(viewStart.Path, viewStart.Layout);
Microsoft.AspNetCore.Mvc.Razor.Test (10)
RazorViewTest.cs (10)
182.Setup(p => p.GetAbsolutePath("_ViewStart", LayoutPath)) 393.Setup(engine => engine.GetAbsolutePath(/*executingFilePath*/ null, "/fake-layout-path")) 396.Setup(engine => engine.GetAbsolutePath(/*executingFilePath*/ null, layoutPath)) 491.Setup(engine => engine.GetAbsolutePath(viewStartPath, /* pagePath */ null)) 1576.Setup(engine => engine.GetAbsolutePath(/*executingFilePath*/ null, expectedViewStart)) 1579.Setup(engine => engine.GetAbsolutePath(/*executingFilePath*/ null, expectedPage)) 1634.Setup(engine => engine.GetAbsolutePath("~/_ViewStart.cshtml", "_Layout.cshtml")) 1637.Setup(engine => engine.GetAbsolutePath("~/Home/_ViewStart.cshtml", "_Layout.cshtml")) 1679.Setup(engine => engine.GetAbsolutePath(/*executingFilePath*/ null, "Layout")) 1682.Setup(engine => engine.GetAbsolutePath(/*executingFilePath*/ null, /*pagePath*/ null))