12 references to SectionName
Aspire.Dashboard.Components.Tests (7)
Controls\ApplicationSummaryTests.cs (3)
43
var outlet = Render<SectionOutlet>(builder => builder.Add(p => p.
SectionName
, ResourcesLayout.HeaderActionsSectionName));
224
var outlet = Render<SectionOutlet>(builder => builder.Add(p => p.
SectionName
, ResourcesLayout.HeaderActionsSectionName));
245
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\ResourcesLayoutTests.cs (3)
680
var header = Render<SectionOutlet>(p => p.Add(p => p.
SectionName
, MainLayout.HeaderContextSectionName));
715
var header = Render<SectionOutlet>(p => p.Add(p => p.
SectionName
, MainLayout.HeaderContextSectionName));
2060
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)}'.");