8 references to GetDisplayName
Aspire.Tray.Tests (8)
AppHostPresentationTests.cs (3)
33
Assert.Equal(expected, AppHostPresentation.
GetDisplayName
(host));
63
Assert.Equal(name, AppHostPresentation.
GetDisplayName
(host));
78
Assert.Equal(expected, AppHostPresentation.
GetDisplayName
(host));
Helpers\TrayPanelSamples.cs (2)
14
return new(id, AppHostPresentation.GetTitle(info), AppHostPresentation.GetSubtitle(info), AppHostPresentation.
GetDisplayName
(info),
24
return new(info.Id, AppHostPresentation.GetTitle(info), error ?? subtitle, AppHostPresentation.
GetDisplayName
(info),
src\Aspire.Tray\Common\AppHostPresentation.cs (1)
29
public static string GetTitle(AppHostInfo host) => Compact(
GetDisplayName
(host), 44);
src\Aspire.Tray\Common\TrayController.cs (2)
582
AppHostPresentation.
GetDisplayName
(host),
643
return new(host.Id, AppHostPresentation.GetTitle(host), subtitle, AppHostPresentation.
GetDisplayName
(host),