2 implementations of Path
Microsoft.AspNetCore.Mvc.Razor (1)
RazorView.cs (1)
61public string Path => RazorPage.Path;
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
NullView.cs (1)
13public string Path => string.Empty;
21 references to Path
Microsoft.AspNetCore.Mvc.Localization (1)
ViewLocalizer.cs (1)
87path = viewContext.View.Path;
Microsoft.AspNetCore.Mvc.Localization.Test (10)
ViewLocalizerTest.cs (10)
34view.Setup(v => v.Path).Returns(viewPath); 69view.Setup(v => v.Path).Returns("example"); 101view.Setup(v => v.Path).Returns("example"); 125view.Setup(v => v.Path).Returns("example"); 150view.Setup(v => v.Path).Returns("example"); 176view.Setup(v => v.Path).Returns("example"); 200view.Setup(v => v.Path).Returns("example"); 224view.Setup(v => v.Path).Returns("example"); 248view.Setup(v => v.Path).Returns("example"); 272view.Setup(v => v.Path).Returns("example");
Microsoft.AspNetCore.Mvc.Razor (1)
RazorPage.cs (1)
179viewContext.View.Path));
Microsoft.AspNetCore.Mvc.Razor.Test (4)
RazorPageTest.cs (1)
1426viewMock.Setup(v => v.Path).Returns(viewPath);
RazorViewTest.cs (3)
153Assert.Equal(pagePath, v.ViewContext.View.Path); 163Assert.Equal(pagePath, v.ViewContext.View.Path); 173Assert.Equal(pagePath, v.ViewContext.View.Path);
Microsoft.AspNetCore.Mvc.ViewFeatures (3)
PartialViewResultExecutor.cs (1)
200PartialViewFound(logger, view.Path, timespan.TotalMilliseconds);
Rendering\ViewContext.cs (1)
218private string DebuggerToString() => View?.Path ?? $"{{{GetType().FullName}}}";
ViewResultExecutor.cs (1)
200ViewFound(logger, view.Path, timespan.TotalMilliseconds);
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (2)
PartialViewResultTest.cs (1)
196.SetupGet(v => v.Path)
ViewResultTest.cs (1)
208.SetupGet(v => v.Path)