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