1 write to SectionId
Microsoft.AspNetCore.Components (1)
Sections\SectionContent.cs (1)
95
SectionId
= param.Value;
11 references to SectionId
Microsoft.AspNetCore.Components (7)
Sections\SectionContent.cs (7)
7
/// Provides content to <see cref="SectionOutlet"/> components with matching <see cref="
SectionId
"/>s.
51
if (SectionName is not null &&
SectionId
is not null)
53
throw new InvalidOperationException($"{nameof(SectionContent)} requires that '{nameof(SectionName)}' and '{nameof(
SectionId
)}' cannot both have non-null values.");
59
else if (
SectionId
is not null)
61
identifier =
SectionId
;
65
throw new InvalidOperationException($"{nameof(SectionContent)} requires a non-null value either for '{nameof(SectionName)}' or '{nameof(
SectionId
)}'.");
94
case nameof(SectionContent.
SectionId
):
Microsoft.AspNetCore.Components.Web (3)
Head\HeadContent.cs (1)
24
builder.AddComponentParameter(1, nameof(SectionContent.
SectionId
), HeadOutlet.HeadSectionId);
Head\HeadOutlet.cs (1)
47
builder.AddComponentParameter(3, nameof(SectionContent.
SectionId
), TitleSectionId);
Head\PageTitle.cs (1)
24
builder.AddComponentParameter(1, nameof(SectionContent.
SectionId
), HeadOutlet.TitleSectionId);
Microsoft.AspNetCore.Components.Web.Tests (1)
HtmlRendering\HtmlRendererTest.cs (1)
821
{ nameof(SectionContent.
SectionId
), "testsection" },