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)
405v.DefineSection("qux", _nullRenderAsyncDelegate); 406v.DefineSection("qux", _nullRenderAsyncDelegate); 909p.DefineSection("test-section", async () =>
RazorViewTest.cs (22)
663v.DefineSection("head", async () => 667v.DefineSection("foot", async () => 720v.DefineSection("head", _nullRenderAsyncDelegate); 722v.DefineSection("foot", _nullRenderAsyncDelegate); 766v.DefineSection("foo", async () => 776v.DefineSection("foo", async () => 834v.DefineSection("sectionA", async () => 844v.DefineSection("sectionB", async () => 898v.DefineSection("foo", async () => 909v.DefineSection("foo", async () => 961v.DefineSection("foo", async () => 976v.DefineSection("foo", async () => 1072v.DefineSection("foo", async () => 1084v.DefineSection("bar", () => v.Output.WriteLineAsync("bar-content")); 1138v.DefineSection("foo", async () => 1154v.DefineSection("bar", () => v.Output.WriteLineAsync("bar-content")); 1311v.DefineSection("foo", async () => 1322v.DefineSection("foo", async () => 1380v.DefineSection("foo", async () => 1435v.DefineSection("foo", async () => 1514v.DefineSection("foo", async () => 1527v.DefineSection("bar", () => v.Output.WriteLineAsync("bar-content"));