10 references to EffectiveLabel
Aspire.Hosting (3)
Dashboard\DashboardService.cs (2)
126
if (input.
EffectiveLabel
!= null)
128
dto.Label = input.
EffectiveLabel
;
Publishing\PublishingActivityReporter.cs (1)
288
Label = input.
EffectiveLabel
,
Aspire.Hosting.Tests (7)
InteractionServiceTests.cs (7)
495
Assert.Equal("Age", collection["Age"].
EffectiveLabel
);
584
Assert.Equal("Input1", collection["Input1"].
EffectiveLabel
);
585
Assert.Equal("Input2", collection["Input2"].
EffectiveLabel
);
586
Assert.Equal("Input3", collection["Input3"].
EffectiveLabel
);
617
Assert.Equal("!@#$%^&*()", collection["SpecialInput"].
EffectiveLabel
);
620
Assert.Equal("EmptyLabel", collection["EmptyLabel"].
EffectiveLabel
); // Falls back to name
623
Assert.Equal("WhitespaceLabel", collection["WhitespaceLabel"].
EffectiveLabel
); // Falls back to name