3 implementations of GetView
Microsoft.AspNetCore.Mvc.Razor (1)
RazorViewEngine.cs (1)
171public ViewEngineResult GetView(string? executingFilePath, string viewPath, bool isMainPage)
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
ViewEngines\CompositeViewEngine.cs (1)
78public ViewEngineResult GetView(string? executingFilePath, string viewPath, bool isMainPage)
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (1)
ViewEngines\CompositeViewEngineTest.cs (1)
445public ViewEngineResult GetView(string executingFilePath, string viewPath, bool isMainPage)
118 references to GetView
Microsoft.AspNetCore.Mvc.Razor (1)
IRazorViewEngine.cs (1)
34/// <remarks><seealso cref="IViewEngine.GetView"/>.</remarks>
Microsoft.AspNetCore.Mvc.TagHelpers (1)
PartialTagHelper.cs (1)
182var viewEngineResult = _viewEngine.GetView(ViewContext.ExecutingFilePath, partialName, isMainPage: false);
Microsoft.AspNetCore.Mvc.TagHelpers.Test (20)
PartialTagHelperTest.cs (20)
167viewEngine.Setup(v => v.GetView(It.IsAny<string>(), partialName, false)) 205viewEngine.Setup(v => v.GetView(It.IsAny<string>(), partialName, false)) 246viewEngine.Setup(v => v.GetView(It.IsAny<string>(), partialName, false)) 290viewEngine.Setup(v => v.GetView(It.IsAny<string>(), partialName, false)) 339viewEngine.Setup(v => v.GetView(It.IsAny<string>(), partialName, false)) 385viewEngine.Setup(v => v.GetView(It.IsAny<string>(), partialName, false)) 432viewEngine.Setup(v => v.GetView(It.IsAny<string>(), partialName, false)) 472viewEngine.Setup(v => v.GetView(It.IsAny<string>(), partialName, false)) 512viewEngine.Setup(v => v.GetView(It.IsAny<string>(), partialName, false)) 547viewEngine.Setup(v => v.GetView(It.IsAny<string>(), partialName, false)) 583viewEngine.Setup(v => v.GetView(It.IsAny<string>(), partialName, false)) 624viewEngine.Setup(v => v.GetView(It.IsAny<string>(), partialName, false)) 674viewEngine.Setup(v => v.GetView(It.IsAny<string>(), partialName, false)) 676viewEngine.Setup(v => v.GetView(It.IsAny<string>(), fallbackName, false)) 720viewEngine.Setup(v => v.GetView(It.IsAny<string>(), partialName, false)) 726viewEngine.Setup(v => v.GetView(It.IsAny<string>(), fallbackName, false)) 768viewEngine.Setup(v => v.GetView(It.IsAny<string>(), partialName, false)) 772viewEngine.Setup(v => v.GetView(It.IsAny<string>(), fallbackName, false)) 812viewEngine.Setup(v => v.GetView(It.IsAny<string>(), partialName, false)) 816viewEngine.Setup(v => v.GetView(It.IsAny<string>(), fallbackName, false))
Microsoft.AspNetCore.Mvc.ViewFeatures (7)
HtmlHelper.cs (1)
512var viewEngineResult = _viewEngine.GetView(
PartialViewResultExecutor.cs (1)
71var result = viewEngine.GetView(executingFilePath: null, viewPath: viewName, isMainPage: false);
TemplateRenderer.cs (1)
106var viewEngineResult = _viewEngine.GetView(_viewContext.ExecutingFilePath, viewName, isMainPage: false);
ViewComponents\ViewViewComponentResult.cs (1)
81result = viewEngine.GetView(viewContext.ExecutingFilePath, ViewName!, isMainPage: false);
ViewEngines\CompositeViewEngine.cs (1)
95var result = ViewEngines[i].GetView(executingFilePath, viewPath, isMainPage);
ViewEngines\IViewEngine.cs (1)
21/// <remarks>Use <see cref="GetView(string, string, bool)"/> when the absolute or relative
ViewResultExecutor.cs (1)
72var result = viewEngine.GetView(executingFilePath: null, viewPath: viewName, isMainPage: true);
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (89)
DefaultDisplayTemplatesTest.cs (7)
126.Setup(v => v.GetView(/*executingFilePath*/ null, It.IsAny<string>(), /*isMainPage*/ false)) 261.Setup(v => v.GetView(/*executingFilePath*/ null, It.IsAny<string>(), /*isMainPage*/ false)) 283.Setup(v => v.GetView(/*executingFilePath*/ null, It.IsAny<string>(), /*isMainPage*/ false)) 305.Setup(v => v.GetView(/*executingFilePath*/ null, It.IsAny<string>(), /*isMainPage*/ false)) 328.Setup(v => v.GetView(/*executingFilePath*/ null, It.IsAny<string>(), /*isMainPage*/ false)) 357.Setup(v => v.GetView(/*executingFilePath*/ null, It.IsAny<string>(), /*isMainPage*/ false)) 376.Setup(v => v.GetView(/*executingFilePath*/ null, It.IsAny<string>(), /*isMainPage*/ false))
DefaultEditorTemplatesTest.cs (19)
356.Setup(v => v.GetView(/*executingFilePath*/ null, It.IsAny<string>(), /*isMainPage*/ false)) 574.Setup(v => v.GetView(/*executingFilePath*/ null, It.IsAny<string>(), /*isMainPage*/ false)) 607.Setup(v => v.GetView(/*executingFilePath*/ null, It.IsAny<string>(), /*isMainPage*/ false)) 639.Setup(v => v.GetView(/*executingFilePath*/ null, It.IsAny<string>(), /*isMainPage*/ false)) 682.Setup(v => v.GetView(/*executingFilePath*/ null, It.IsAny<string>(), /*isMainPage*/ false)) 724.Setup(v => v.GetView(/*executingFilePath*/ null, It.IsAny<string>(), /*isMainPage*/ false)) 767.Setup(v => v.GetView(/*executingFilePath*/ null, It.IsAny<string>(), /*isMainPage*/ false)) 808.Setup(v => v.GetView(/*executingFilePath*/ null, It.IsAny<string>(), /*isMainPage*/ false)) 846.Setup(v => v.GetView(/*executingFilePath*/ null, It.IsAny<string>(), /*isMainPage*/ false)) 912.Setup(v => v.GetView(/*executingFilePath*/ null, It.IsAny<string>(), /*isMainPage*/ false)) 983.Setup(v => v.GetView(/*executingFilePath*/ null, It.IsAny<string>(), /*isMainPage*/ false)) 1053.Setup(v => v.GetView(/*executingFilePath*/ null, It.IsAny<string>(), /*isMainPage*/ false)) 1122.Setup(v => v.GetView(/*executingFilePath*/ null, It.IsAny<string>(), /*isMainPage*/ false)) 1188.Setup(v => v.GetView(/*executingFilePath*/ null, It.IsAny<string>(), /*isMainPage*/ false)) 1225.Setup(v => v.GetView(/*executingFilePath*/ null, It.IsAny<string>(), /*isMainPage*/ false)) 1249.Setup(v => v.GetView(/*executingFilePath*/ null, It.IsAny<string>(), /*isMainPage*/ false)) 1274.Setup(v => v.GetView(/*executingFilePath*/ null, It.IsAny<string>(), /*isMainPage*/ false)) 1305.Setup(v => v.GetView(/*executingFilePath*/ null, It.IsAny<string>(), /*isMainPage*/ false)) 1324.Setup(v => v.GetView(/*executingFilePath*/ null, It.IsAny<string>(), /*isMainPage*/ false))
PartialViewResultExecutorTest.cs (6)
31.Setup(e => e.GetView(/*executingFilePath*/ null, viewName, /*isMainPage*/ false)) 111.Setup(e => e.GetView(/*executingFilePath*/ null, "myview", /*isMainPage*/ false)) 146.Setup(e => e.GetView(/*executingFilePath*/ null, "myview", /*isMainPage*/ false)) 181.Setup(e => e.GetView(/*executingFilePath*/ null, "myview", /*isMainPage*/ false)) 252.Setup(e => e.GetView(/*executingFilePath*/ null, "myview", /*isMainPage*/ false)) 350.Setup(e => e.GetView(/*executingFilePath*/ null, It.IsAny<string>(), /*isMainPage*/ false))
PartialViewResultTest.cs (4)
74.Setup(v => v.GetView(/*executingFilePath*/ null, viewName, /*isMainPage*/ false)) 112.Setup(v => v.GetView(/*executingFilePath*/ null, viewName, /*isMainPage*/ false)) 152.Setup(v => v.GetView(/*executingFilePath*/ null, viewName, /*isMainPage*/ false)) 201.Setup(v => v.GetView(/*executingFilePath*/ null, viewName, /*isMainPage*/ false))
Rendering\DefaultTemplatesUtilities.cs (1)
317.Setup(v => v.GetView(/*executingFilePath*/ null, It.IsAny<string>(), /*isMainPage*/ false))
Rendering\HtmlHelperDisplayExtensionsTest.cs (17)
25.Setup(v => v.GetView(/*executingFilePath*/ null, It.IsAny<string>(), /*isMainPage*/ false)) 56.Setup(v => v.GetView(/*executingFilePath*/ null, It.IsAny<string>(), /*isMainPage*/ false)) 77.Setup(v => v.GetView(/*executingFilePath*/ null, It.IsAny<string>(), /*isMainPage*/ false)) 139.Setup(v => v.GetView(/*executingFilePath*/ null, It.IsAny<string>(), /*isMainPage*/ false)) 165.Setup(v => v.GetView(/*executingFilePath*/ null, It.IsAny<string>(), /*isMainPage*/ false)) 191.Setup(v => v.GetView(/*executingFilePath*/ null, It.IsAny<string>(), /*isMainPage*/ false)) 219.Setup(v => v.GetView(/*executingFilePath*/ null, It.IsAny<string>(), /*isMainPage*/ false)) 247.Setup(v => v.GetView(/*executingFilePath*/ null, It.IsAny<string>(), /*isMainPage*/ false)) 268.Setup(v => v.GetView(/*executingFilePath*/ null, It.IsAny<string>(), /*isMainPage*/ false)) 294.Setup(v => v.GetView(/*executingFilePath*/ null, It.IsAny<string>(), /*isMainPage*/ false)) 325.Setup(v => v.GetView(/*executingFilePath*/ null, It.IsAny<string>(), /*isMainPage*/ false)) 366.Setup(v => v.GetView(/*executingFilePath*/ null, It.IsAny<string>(), /*isMainPage*/ false)) 391.Setup(v => v.GetView(/*executingFilePath*/ null, It.IsAny<string>(), /*isMainPage*/ false)) 419.Setup(v => v.GetView(/*executingFilePath*/ null, It.IsAny<string>(), /*isMainPage*/ false)) 440.Setup(v => v.GetView(/*executingFilePath*/ null, It.IsAny<string>(), /*isMainPage*/ false)) 466.Setup(v => v.GetView(/*executingFilePath*/ null, It.IsAny<string>(), /*isMainPage*/ false)) 493.Setup(v => v.GetView(/*executingFilePath*/ null, It.IsAny<string>(), /*isMainPage*/ false))
Rendering\HtmlHelperEditorExtensionsTest.cs (2)
23.Setup(v => v.GetView(/*executingFilePath*/ null, It.IsAny<string>(), /*isMainPage*/ false)) 49.Setup(v => v.GetView(/*executingFilePath*/ null, It.IsAny<string>(), /*isMainPage*/ false))
Rendering\HtmlHelperPartialExtensionsTest.cs (6)
408.Setup(v => v.GetView(/*executingFilePath*/ null, It.IsAny<string>(), /*isMainPage*/ false)) 437.Setup(v => v.GetView(/*executingFilePath*/ null, It.IsAny<string>(), /*isMainPage*/ false)) 468.Setup(v => v.GetView(/*executingFilePath*/ null, It.IsAny<string>(), /*isMainPage*/ false)) 497.Setup(v => v.GetView(/*executingFilePath*/ null, It.IsAny<string>(), /*isMainPage*/ false)) 526.Setup(v => v.GetView(/*executingFilePath*/ null, It.IsAny<string>(), /*isMainPage*/ false)) 557.Setup(v => v.GetView(/*executingFilePath*/ null, It.IsAny<string>(), /*isMainPage*/ false))
ViewComponents\ViewViewComponentResultTest.cs (9)
36.Setup(v => v.GetView(/*executingFilePath*/ null, "some-view", /*isMainPage*/ false)) 154.Setup(v => v.GetView(/*executingFilePath*/ null, "some-view", /*isMainPage*/ false)) 192.Setup(v => v.GetView(/*executingFilePath*/ null, "some-view", /*isMainPage*/ false)) 232.Setup(v => v.GetView(/*executingFilePath*/ null, "some-view", /*isMainPage*/ false)) 270.Setup(v => v.GetView(/*executingFilePath*/ null, "some-view", /*isMainPage*/ false)) 306.Setup(v => v.GetView(/*executingFilePath*/ null, "some-view", /*isMainPage*/ false)) 341.Setup(v => v.GetView(/*executingFilePath*/ null, "some-view", /*isMainPage*/ false)) 390.Setup(v => v.GetView(/*executingFilePath*/ null, "some-view", /*isMainPage*/ false)) 484.Setup(v => v.GetView(/*executingFilePath*/ null, viewName, /*isMainPage*/ false))
ViewEngines\CompositeViewEngineTest.cs (8)
188.Setup(e => e.GetView("~/Index.html", viewName, isMainPage)) 213.Setup(e => e.GetView("~/Index.html", viewName, isMainPage)) 241.Setup(e => e.GetView("~/Index.html", viewName, isMainPage)) 244.Setup(e => e.GetView("~/Index.html", viewName, isMainPage)) 247.Setup(e => e.GetView("~/Index.html", viewName, isMainPage)) 277.Setup(e => e.GetView("~/Index.html", viewName, isMainPage)) 280.Setup(e => e.GetView("~/Index.html", viewName, isMainPage)) 283.Setup(e => e.GetView("~/Index.html", viewName, isMainPage))
ViewResultExecutorTest.cs (6)
30.Setup(e => e.GetView(/*executingFilePath*/ null, viewName, /*isMainPage*/ true)) 110.Setup(e => e.GetView(/*executingFilePath*/ null, "myview", /*isMainPage*/ true)) 144.Setup(e => e.GetView(/*executingFilePath*/ null, "myview", /*isMainPage*/ true)) 178.Setup(e => e.GetView(/*executingFilePath*/ null, "myview", /*isMainPage*/ true)) 248.Setup(e => e.GetView(/*executingFilePath*/ null, "myview", /*isMainPage*/ true)) 340.Setup(e => e.GetView(/*executingFilePath*/ null, It.IsAny<string>(), /*isMainPage*/ true))
ViewResultTest.cs (4)
84.Setup(v => v.GetView(/*executingFilePath*/ null, viewName, /*isMainPage*/ true)) 124.Setup(v => v.GetView(/*executingFilePath*/ null, viewName, /*isMainPage*/ true)) 164.Setup(v => v.GetView(/*executingFilePath*/ null, viewName, /*isMainPage*/ true)) 213.Setup(v => v.GetView(/*executingFilePath*/ null, viewName, /*isMainPage*/ true))