13 references to RenderAsyncDelegate
Microsoft.AspNetCore.Mvc.Razor (11)
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 (6)
29
private Dictionary<string,
RenderAsyncDelegate
>? _sectionWriters;
43
private IDictionary<string,
RenderAsyncDelegate
> _previousSectionWriters = default!;
79
public IDictionary<string,
RenderAsyncDelegate
> SectionWriters => _sectionWriters ??= new(StringComparer.OrdinalIgnoreCase);
104
public IDictionary<string,
RenderAsyncDelegate
> PreviousSectionWriters
381
/// <param name="section">The <see cref="
RenderAsyncDelegate
"/> to execute when rendering the section.</param>
382
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;