22 references to SectionName
Aspire.Dashboard.Components.Tests (17)
Controls\ApplicationSummaryTests.cs (3)
53
var outlet = Render<SectionOutlet>(builder => builder.Add(p => p.
SectionName
, ResourcesLayout.HeaderActionsSectionName));
574
var outlet = Render<SectionOutlet>(builder => builder.Add(p => p.
SectionName
, ResourcesLayout.HeaderActionsSectionName));
595
var outlet = Render<SectionOutlet>(builder => builder.Add(p => p.
SectionName
, ResourcesLayout.HeaderActionsSectionName));
Controls\StableSectionContentTests.cs (1)
47
builder.AddComponentParameter(1, nameof(SectionOutlet.
SectionName
), "test-section");
Layout\ResourceRowAvailabilityTests.cs (1)
137
var header = Render<SectionOutlet>(p => p.Add(o => o.
SectionName
, MainLayout.HeaderContextSectionName));
Layout\ResourcesLayoutHomeTests.cs (4)
102
var header = Render<SectionOutlet>(p => p.Add(o => o.
SectionName
, MainLayout.HeaderContextSectionName));
312
var header = Render<SectionOutlet>(p => p.Add(o => o.
SectionName
, MainLayout.HeaderContextSectionName));
347
var header = Render<SectionOutlet>(p => p.Add(o => o.
SectionName
, MainLayout.HeaderContextSectionName));
391
var header = Render<SectionOutlet>(p => p.Add(o => o.
SectionName
, MainLayout.HeaderContextSectionName));
Layout\ResourcesLayoutTests.cs (8)
992
var header = Render<SectionOutlet>(p => p.Add(p => p.
SectionName
, MainLayout.HeaderContextSectionName));
1026
var header = Render<SectionOutlet>(p => p.Add(p => p.
SectionName
, MainLayout.HeaderContextSectionName));
1976
var header = Render<SectionOutlet>(p => p.Add(p => p.
SectionName
, MainLayout.HeaderContextSectionName));
2009
var header = Render<SectionOutlet>(p => p.Add(p => p.
SectionName
, MainLayout.HeaderContextSectionName));
2030
var header = Render<SectionOutlet>(p => p.Add(p => p.
SectionName
, MainLayout.HeaderContextSectionName));
2076
var header = Render<SectionOutlet>(p => p.Add(p => p.
SectionName
, MainLayout.HeaderContextSectionName));
2116
var header = Render<SectionOutlet>(p => p.Add(p => p.
SectionName
, MainLayout.HeaderContextSectionName));
2983
var header = Render<SectionOutlet>(p => p.Add(p => p.
SectionName
, MainLayout.HeaderContextSectionName));
Microsoft.AspNetCore.Components (5)
Sections\SectionOutlet.cs (5)
48
if (
SectionName
is not null && SectionId is not null)
50
throw new InvalidOperationException($"{nameof(SectionOutlet)} requires that '{nameof(
SectionName
)}' and '{nameof(SectionId)}' cannot both have non-null values.");
52
else if (
SectionName
is not null)
54
identifier =
SectionName
;
62
throw new InvalidOperationException($"{nameof(SectionOutlet)} requires a non-null value either for '{nameof(
SectionName
)}' or '{nameof(SectionId)}'.");