10 references to EffectiveLabel
Aspire.Hosting (3)
Dashboard\DashboardService.cs (2)
207
if (input.
EffectiveLabel
!= null)
209
dto.Label = input.
EffectiveLabel
;
Pipelines\PipelineActivityReporter.cs (1)
342
Label = input.
EffectiveLabel
,
Aspire.Hosting.Tests (7)
InteractionServiceTests.cs (7)
703
Assert.Equal("Age", collection["Age"].
EffectiveLabel
);
792
Assert.Equal("Input1", collection["Input1"].
EffectiveLabel
);
793
Assert.Equal("Input2", collection["Input2"].
EffectiveLabel
);
794
Assert.Equal("Input3", collection["Input3"].
EffectiveLabel
);
825
Assert.Equal("!@#$%^&*()", collection["SpecialInput"].
EffectiveLabel
);
828
Assert.Equal("EmptyLabel", collection["EmptyLabel"].
EffectiveLabel
); // Falls back to name
831
Assert.Equal("WhitespaceLabel", collection["WhitespaceLabel"].
EffectiveLabel
); // Falls back to name