10 references to EffectiveLabel
Aspire.Hosting (3)
Dashboard\DashboardService.cs (2)
141
if (input.
EffectiveLabel
!= null)
143
dto.Label = input.
EffectiveLabel
;
Pipelines\PipelineActivityReporter.cs (1)
309
Label = input.
EffectiveLabel
,
Aspire.Hosting.Tests (7)
InteractionServiceTests.cs (7)
619
Assert.Equal("Age", collection["Age"].
EffectiveLabel
);
708
Assert.Equal("Input1", collection["Input1"].
EffectiveLabel
);
709
Assert.Equal("Input2", collection["Input2"].
EffectiveLabel
);
710
Assert.Equal("Input3", collection["Input3"].
EffectiveLabel
);
741
Assert.Equal("!@#$%^&*()", collection["SpecialInput"].
EffectiveLabel
);
744
Assert.Equal("EmptyLabel", collection["EmptyLabel"].
EffectiveLabel
); // Falls back to name
747
Assert.Equal("WhitespaceLabel", collection["WhitespaceLabel"].
EffectiveLabel
); // Falls back to name