2 implementations of Path
Microsoft.AspNetCore.Mvc.Razor (1)
RazorPageBase.cs (1)
75public 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); 198if (string.Equals(layout.Path, path, StringComparison.Ordinal)) 232var layoutPage = GetLayoutPage(context, previousPage.Path, previousPage.Layout); 234if (renderedLayouts is not null && ContainsLayout(renderedLayouts, layoutPage.Path)) 239Resources.FormatLayoutHasCircularReference(previousPage.Path, layoutPage.Path));