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