10 writes to ExecutingFilePath
Microsoft.AspNetCore.Mvc.Localization.Test (1)
ViewLocalizerTest.cs (1)
36viewContext.ExecutingFilePath = executingPath;
Microsoft.AspNetCore.Mvc.Razor (4)
RazorView.cs (4)
118context.ExecutingFilePath = page.Path; 134context.ExecutingFilePath = oldFilePath; 166context.ExecutingFilePath = viewStart.Path; 184context.ExecutingFilePath = oldFilePath;
Microsoft.AspNetCore.Mvc.Razor.Test (2)
RazorPageTest.cs (2)
459context.ExecutingFilePath = "/Views/Shared/_Layout.cshtml"; 481context.ExecutingFilePath = "/Views/Shared/_Layout.cshtml";
Microsoft.AspNetCore.Mvc.RazorPages (2)
Infrastructure\PageActionInvoker.cs (2)
117_viewContext.ExecutingFilePath = _pageContext.ActionDescriptor.RelativePath; 156_viewContext.ExecutingFilePath = _pageContext.ActionDescriptor.RelativePath;
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
Rendering\ViewContext.cs (1)
104ExecutingFilePath = viewContext.ExecutingFilePath;
15 references to ExecutingFilePath
Microsoft.AspNetCore.Mvc.Localization (1)
ViewLocalizer.cs (1)
83var path = viewContext.ExecutingFilePath;
Microsoft.AspNetCore.Mvc.Razor (3)
RazorPage.cs (1)
177viewContext.ExecutingFilePath,
RazorView.cs (2)
115var oldFilePath = context.ExecutingFilePath; 160var oldFilePath = context.ExecutingFilePath;
Microsoft.AspNetCore.Mvc.Razor.Test (3)
RazorViewTest.cs (3)
152paths.Add(v.ViewContext.ExecutingFilePath); 162paths.Add(v.ViewContext.ExecutingFilePath); 172paths.Add(v.ViewContext.ExecutingFilePath);
Microsoft.AspNetCore.Mvc.RazorPages.Test (1)
Infrastructure\PageActionInvokerTest.cs (1)
349Assert.Equal(relativePath, page.ViewContext.ExecutingFilePath);
Microsoft.AspNetCore.Mvc.TagHelpers (1)
PartialTagHelper.cs (1)
182var viewEngineResult = _viewEngine.GetView(ViewContext.ExecutingFilePath, partialName, isMainPage: false);
Microsoft.AspNetCore.Mvc.ViewFeatures (4)
HtmlHelper.cs (1)
513ViewContext.ExecutingFilePath,
Rendering\ViewContext.cs (1)
104ExecutingFilePath = viewContext.ExecutingFilePath;
TemplateRenderer.cs (1)
106var viewEngineResult = _viewEngine.GetView(_viewContext.ExecutingFilePath, viewName, isMainPage: false);
ViewComponents\ViewViewComponentResult.cs (1)
81result = viewEngine.GetView(viewContext.ExecutingFilePath, ViewName!, isMainPage: false);
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (2)
Rendering\ViewContextTests.cs (2)
66Assert.Same(originalContext.ExecutingFilePath, context.ExecutingFilePath);