12 references to SectionName
Aspire.Dashboard.Components.Tests (7)
Controls\ApplicationSummaryTests.cs (3)
43var outlet = Render<SectionOutlet>(builder => builder.Add(p => p.SectionName, ResourcesLayout.HeaderActionsSectionName)); 224var outlet = Render<SectionOutlet>(builder => builder.Add(p => p.SectionName, ResourcesLayout.HeaderActionsSectionName)); 245var outlet = Render<SectionOutlet>(builder => builder.Add(p => p.SectionName, ResourcesLayout.HeaderActionsSectionName));
Controls\StableSectionContentTests.cs (1)
47builder.AddComponentParameter(1, nameof(SectionOutlet.SectionName), "test-section");
Layout\ResourcesLayoutTests.cs (3)
680var header = Render<SectionOutlet>(p => p.Add(p => p.SectionName, MainLayout.HeaderContextSectionName)); 715var header = Render<SectionOutlet>(p => p.Add(p => p.SectionName, MainLayout.HeaderContextSectionName)); 2060var header = Render<SectionOutlet>(p => p.Add(p => p.SectionName, MainLayout.HeaderContextSectionName));
Microsoft.AspNetCore.Components (5)
Sections\SectionOutlet.cs (5)
48if (SectionName is not null && SectionId is not null) 50throw new InvalidOperationException($"{nameof(SectionOutlet)} requires that '{nameof(SectionName)}' and '{nameof(SectionId)}' cannot both have non-null values."); 52else if (SectionName is not null) 54identifier = SectionName; 62throw new InvalidOperationException($"{nameof(SectionOutlet)} requires a non-null value either for '{nameof(SectionName)}' or '{nameof(SectionId)}'.");