1 instantiation of AppIconCommand
Aspire.Tray.Tests (1)
src\Aspire.Tray\Common\TrayPanel.cs (1)
1307
commands.Add(new
AppIconCommand
(new(TextLeft, item.Y + 7, 16, 16), _openInApplications[index], fallback));
7 references to AppIconCommand
Aspire.Tray.Tests (7)
Helpers\TrayPanelSvgRenderer.cs (1)
63
case
AppIconCommand
appIcon:
src\Aspire.Tray\Common\TrayPanelSceneJson.cs (1)
70
AppIconCommand
icon => ("app:" + icon.Application, icon.Bounds),
src\Aspire.Tray\Linux\LinuxTrayPanel.cs (1)
662
case
AppIconCommand
icon:
TrayPanelTests.cs (4)
318
Assert.Empty(panel.Scene.Commands.OfType<
AppIconCommand
>());
327
var icons = panel.Scene.Commands.OfType<
AppIconCommand
>().ToList();
914
Assert.Contains(scene.Commands.OfType<
AppIconCommand
>(), icon => icon.Bounds == box.Bounds);
931
var icons = scene.Commands.OfType<
AppIconCommand
>().Select(icon => icon.Bounds).ToList();