13 references to RenderAsyncDelegate
Microsoft.AspNetCore.Mvc.Razor (11)
IRazorPage.cs (2)
47IDictionary<string, RenderAsyncDelegate> PreviousSectionWriters { get; set; } 52IDictionary<string, RenderAsyncDelegate> SectionWriters { get; }
RazorPage.cs (3)
54/// <param name="section">The <see cref="RenderAsyncDelegate"/> to execute when rendering the section.</param> 55public override void DefineSection(string name, RenderAsyncDelegate section) 161if (PreviousSectionWriters.TryGetValue(sectionName, out var renderDelegate))
RazorPageBase.cs (6)
29private Dictionary<string, RenderAsyncDelegate>? _sectionWriters; 43private IDictionary<string, RenderAsyncDelegate> _previousSectionWriters = default!; 79public IDictionary<string, RenderAsyncDelegate> SectionWriters => _sectionWriters ??= new(StringComparer.OrdinalIgnoreCase); 104public IDictionary<string, RenderAsyncDelegate> PreviousSectionWriters 381/// <param name="section">The <see cref="RenderAsyncDelegate"/> to execute when rendering the section.</param> 382public virtual void DefineSection(string name, RenderAsyncDelegate section)
Microsoft.AspNetCore.Mvc.RazorPages (2)
Infrastructure\RazorPageAdapter.cs (2)
67public IDictionary<string, RenderAsyncDelegate> PreviousSectionWriters 74public IDictionary<string, RenderAsyncDelegate> SectionWriters => _page.SectionWriters;