11 references to GetTitle
Aspire.Tray.Tests (11)
AppHostPresentationTests.cs (7)
15Assert.Equal("worktree-a", AppHostPresentation.GetTitle(host)); 34Assert.Equal(expected, AppHostPresentation.GetTitle(host)); 43Assert.Equal("Shop", AppHostPresentation.GetTitle(first)); 44Assert.Equal("Shop", AppHostPresentation.GetTitle(second)); 64Assert.Equal(expected, AppHostPresentation.GetTitle(host)); 65Assert.Equal(Math.Min(count, 44), StringInfo.ParseCombiningCharacters(AppHostPresentation.GetTitle(host)).Length); 79Assert.Equal(expected, AppHostPresentation.GetTitle(host));
Helpers\TrayPanelSamples.cs (2)
14return new(id, AppHostPresentation.GetTitle(info), AppHostPresentation.GetSubtitle(info), AppHostPresentation.GetDisplayName(info), 24return new(info.Id, AppHostPresentation.GetTitle(info), error ?? subtitle, AppHostPresentation.GetDisplayName(info),
src\Aspire.Tray\Common\TrayController.cs (2)
581return new AppHostMenuItem(host.Id, AppHostPresentation.GetTitle(host), subtitle, 643return new(host.Id, AppHostPresentation.GetTitle(host), subtitle, AppHostPresentation.GetDisplayName(host),