2 implementations of Path
Microsoft.AspNetCore.Mvc.Razor (1)
RazorPageBase.cs (1)
75
public string
Path
{ get; set; } = default!;
Microsoft.AspNetCore.Mvc.RazorPages (1)
Infrastructure\RazorPageAdapter.cs (1)
53
public string
Path
12 references to Path
Microsoft.AspNetCore.Mvc.Razor (12)
Compilation\DefaultRazorPageFactoryProvider.cs (1)
45
var pathProperty = viewType.GetProperty(nameof(IRazorPage.
Path
))!;
RazorView.cs (11)
61
public string Path => RazorPage.
Path
;
101
var buffer = new ViewBuffer(_bufferScope, page.
Path
, ViewBuffer.ViewPageSize);
108
var buffer = new ViewBuffer(_bufferScope, page.
Path
, ViewBuffer.ViewPageSize);
118
context.ExecutingFilePath = page.
Path
;
166
context.ExecutingFilePath = viewStart.
Path
;
179
layout = _viewEngine.GetAbsolutePath(viewStart.
Path
, viewStart.Layout);
198
if (string.Equals(layout.
Path
, path, StringComparison.Ordinal))
232
var layoutPage = GetLayoutPage(context, previousPage.
Path
, previousPage.Layout);
234
if (renderedLayouts is not null && ContainsLayout(renderedLayouts, layoutPage.
Path
))
239
Resources.FormatLayoutHasCircularReference(previousPage.
Path
, layoutPage.
Path
));