14 references to RenderAsyncDelegate
Microsoft.AspNetCore.Mvc.Razor (12)
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 (7)
28private readonly IDictionary<string, RenderAsyncDelegate> _sectionWriters = new Dictionary<string, RenderAsyncDelegate>(StringComparer.OrdinalIgnoreCase); 41private IDictionary<string, RenderAsyncDelegate> _previousSectionWriters = default!; 77public IDictionary<string, RenderAsyncDelegate> SectionWriters => _sectionWriters; 102public IDictionary<string, RenderAsyncDelegate> PreviousSectionWriters 379/// <param name="section">The <see cref="RenderAsyncDelegate"/> to execute when rendering the section.</param> 380public 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;