2 implementations of Path
Microsoft.AspNetCore.Mvc.Razor (1)
RazorPageBase.cs (1)
73
public string
Path
{ get; set; } = default!;
Microsoft.AspNetCore.Mvc.RazorPages (1)
Infrastructure\RazorPageAdapter.cs (1)
53
public string
Path
13 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);
219
var layoutPage = GetLayoutPage(context, previousPage.
Path
, previousPage.Layout);
222
renderedLayouts.Any(l => string.Equals(l.
Path
, layoutPage.
Path
, StringComparison.Ordinal)))
227
Resources.FormatLayoutHasCircularReference(previousPage.
Path
, layoutPage.
Path
));
Microsoft.AspNetCore.Mvc.Razor.Test (1)
Compilation\DefaultRazorPageFactoryProviderTest.cs (1)
97
Assert.Equal("/file-exists", actual.
Path
);