9 references to SectionId
Microsoft.AspNetCore.Components (6)
Sections\SectionOutlet.cs (6)
9/// Renders content provided by <see cref="SectionContent"/> components with matching <see cref="SectionId"/>s. 45if (SectionName is not null && SectionId is not null) 47throw new InvalidOperationException($"{nameof(SectionOutlet)} requires that '{nameof(SectionName)}' and '{nameof(SectionId)}' cannot both have non-null values."); 53else if (SectionId is not null) 55identifier = SectionId; 59throw new InvalidOperationException($"{nameof(SectionOutlet)} requires a non-null value either for '{nameof(SectionName)}' or '{nameof(SectionId)}'.");
Microsoft.AspNetCore.Components.Web (2)
Head\HeadOutlet.cs (2)
40builder.AddComponentParameter(1, nameof(SectionOutlet.SectionId), TitleSectionId); 55builder.AddComponentParameter(7, nameof(SectionOutlet.SectionId), HeadSectionId);
Microsoft.AspNetCore.Components.Web.Tests (1)
HtmlRendering\HtmlRendererTest.cs (1)
813{ nameof(SectionOutlet.SectionId), "testsection" }