Base:
method
DefineSection
Microsoft.AspNetCore.Mvc.Razor.RazorPageBase.DefineSection(System.String, Microsoft.AspNetCore.Mvc.Razor.RenderAsyncDelegate)
25 references to DefineSection
Microsoft.AspNetCore.Mvc.Razor.Test (25)
RazorPageTest.cs (3)
405
v.
DefineSection
("qux", _nullRenderAsyncDelegate);
406
v.
DefineSection
("qux", _nullRenderAsyncDelegate);
909
p.
DefineSection
("test-section", async () =>
RazorViewTest.cs (22)
663
v.
DefineSection
("head", async () =>
667
v.
DefineSection
("foot", async () =>
720
v.
DefineSection
("head", _nullRenderAsyncDelegate);
722
v.
DefineSection
("foot", _nullRenderAsyncDelegate);
766
v.
DefineSection
("foo", async () =>
776
v.
DefineSection
("foo", async () =>
834
v.
DefineSection
("sectionA", async () =>
844
v.
DefineSection
("sectionB", async () =>
898
v.
DefineSection
("foo", async () =>
909
v.
DefineSection
("foo", async () =>
961
v.
DefineSection
("foo", async () =>
976
v.
DefineSection
("foo", async () =>
1072
v.
DefineSection
("foo", async () =>
1084
v.
DefineSection
("bar", () => v.Output.WriteLineAsync("bar-content"));
1138
v.
DefineSection
("foo", async () =>
1154
v.
DefineSection
("bar", () => v.Output.WriteLineAsync("bar-content"));
1311
v.
DefineSection
("foo", async () =>
1322
v.
DefineSection
("foo", async () =>
1380
v.
DefineSection
("foo", async () =>
1435
v.
DefineSection
("foo", async () =>
1514
v.
DefineSection
("foo", async () =>
1527
v.
DefineSection
("bar", () => v.Output.WriteLineAsync("bar-content"));