Implemented interface member:
property
Path
Microsoft.AspNetCore.Mvc.Razor.IRazorPage.Path
49 writes to Path
Microsoft.AspNetCore.Mvc.Razor.Test (47)
RazorPageTest.cs (14)
124v.Path = "/Views/TestPath/Test.cshtml"; 443v.Path = "/Views/TestPath/Test.cshtml"; 484v.Path = "/Views/TestPath/Test.cshtml"; 503v.Path = "/Views/TestPath/Test.cshtml"; 568v.Path = "/Views/TestPath/Test.cshtml"; 592v.Path = "/Views/TestPath/Test.cshtml"; 616v.Path = "/Views/TestPath/Test.cshtml"; 640v.Path = "/Views/TestPath/Test.cshtml"; 660page.Path = path; 677page.Path = path; 695page.Path = path; 720page.Path = path; 743page.Path = path; 890p.Path = "/Views/TestPath/Test.cshtml";
RazorViewTest.cs (33)
156Path = pagePath 166Path = "_ViewStart" 176Path = LayoutPath 423Path = path, 435Path = layoutPath, 469Path = viewStartPath, 473Path = path, 486Path = layoutPath, 729Path = LayoutPath 783Path = "/Shared/Layout1.cshtml" 792Path = "/Shared/Layout2.cshtml" 850nestedLayout.Path = "NestedLayout"; 856baseLayout.Path = "Layout"; 915Path = "/Shared/Layout1.cshtml" 924Path = "/Shared/Layout2.cshtml" 967Path = "Page" 982Path = "/Shared/Layout1.cshtml" 993Path = "/Shared/Layout2.cshtml" 1032Path = LayoutPath 1088layout1.Path = "~/Shared/Layout1.cshtml"; 1097layout2.Path = "~/Shared/Layout2.cshtml"; 1146Path = "~/Shared/Page.cshtml", 1159Path = "~/Shared/Layout1.cshtml", 1170Path = "~/Shared/Layout2.cshtml", 1212layout.Path = "Shared/Layout.cshtml"; 1253layout1.Path = "Shared/_Layout.cshtml"; 1260layout2.Path = "/Shared/Layout2.cshtml"; 1327nestedLayout.Path = "~/Shared/Layout1.cshtml"; 1336baseLayout.Path = "~/Shared/Layout2.cshtml"; 1483v.Path = "/Views/TestPath/Test.cshtml"; 1512v.Path = "/Views/TestPath/Test.cshtml"; 1620Path = "~/_ViewStart.cshtml", 1629Path = "~/Home/_ViewStart.cshtml",
Microsoft.AspNetCore.Mvc.RazorPages (2)
Infrastructure\DefaultPageFactoryProvider.cs (1)
63page.Path = pageContext.ActionDescriptor.RelativePath;
Infrastructure\RazorPageAdapter.cs (1)
56set { _page.Path = value; }
10 references to Path
Microsoft.AspNetCore.Mvc.Razor (8)
RazorPage.cs (5)
33var message = Resources.FormatRazorPage_MethodCannotBeCalled(nameof(RenderBody), Path); 157var message = Resources.FormatSectionAlreadyRendered(nameof(RenderSectionAsync), Path, sectionName); 231throw new InvalidOperationException(Resources.FormatSectionsNotRendered(Path, sectionNames, nameof(IgnoreSection))); 238var message = Resources.FormatRenderBodyNotCalled(nameof(RenderBody), Path, nameof(IgnoreBody)); 259throw new InvalidOperationException(Resources.FormatRazorPage_MethodCannotBeCalled(methodName, Path));
RazorPageBase.cs (3)
221var buffer = new ViewBuffer(BufferScope, Path, ViewBuffer.TagHelperPageSize); 689Resources.FormatRazorPage_CannotFlushWhileInAWritingScope(nameof(FlushAsync), Path)); 696var message = Resources.FormatLayoutCannotBeRendered(Path, nameof(FlushAsync));
Microsoft.AspNetCore.Mvc.RazorPages (1)
Infrastructure\RazorPageAdapter.cs (1)
55get { return _page.Path; }
Microsoft.AspNetCore.Mvc.RazorPages.Test (1)
Infrastructure\DefaultPageFactoryProviderTest.cs (1)
128Assert.Equal("/this/is/a/path.cshtml", testPage.Path);