14 references to RenderAsyncDelegate
Microsoft.AspNetCore.Mvc.Razor (12)
IRazorPage.cs (2)
47
IDictionary<string,
RenderAsyncDelegate
> PreviousSectionWriters { get; set; }
52
IDictionary<string,
RenderAsyncDelegate
> SectionWriters { get; }
RazorPage.cs (3)
54
/// <param name="section">The <see cref="
RenderAsyncDelegate
"/> to execute when rendering the section.</param>
55
public override void DefineSection(string name,
RenderAsyncDelegate
section)
161
if (PreviousSectionWriters.TryGetValue(sectionName, out
var
renderDelegate))
RazorPageBase.cs (7)
28
private readonly IDictionary<string,
RenderAsyncDelegate
> _sectionWriters = new Dictionary<string,
RenderAsyncDelegate
>(StringComparer.OrdinalIgnoreCase);
41
private IDictionary<string,
RenderAsyncDelegate
> _previousSectionWriters = default!;
77
public IDictionary<string,
RenderAsyncDelegate
> SectionWriters => _sectionWriters;
102
public IDictionary<string,
RenderAsyncDelegate
> PreviousSectionWriters
379
/// <param name="section">The <see cref="
RenderAsyncDelegate
"/> to execute when rendering the section.</param>
380
public virtual void DefineSection(string name,
RenderAsyncDelegate
section)
Microsoft.AspNetCore.Mvc.RazorPages (2)
Infrastructure\RazorPageAdapter.cs (2)
67
public IDictionary<string,
RenderAsyncDelegate
> PreviousSectionWriters
74
public IDictionary<string,
RenderAsyncDelegate
> SectionWriters => _page.SectionWriters;