1 instantiation of AppIconCommand
Aspire.Tray.Tests (1)
src\Aspire.Tray\Common\TrayPanel.cs (1)
1307commands.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)
63case AppIconCommand appIcon:
src\Aspire.Tray\Common\TrayPanelSceneJson.cs (1)
70AppIconCommand icon => ("app:" + icon.Application, icon.Bounds),
src\Aspire.Tray\Linux\LinuxTrayPanel.cs (1)
662case AppIconCommand icon:
TrayPanelTests.cs (4)
318Assert.Empty(panel.Scene.Commands.OfType<AppIconCommand>()); 327var icons = panel.Scene.Commands.OfType<AppIconCommand>().ToList(); 914Assert.Contains(scene.Commands.OfType<AppIconCommand>(), icon => icon.Bounds == box.Bounds); 931var icons = scene.Commands.OfType<AppIconCommand>().Select(icon => icon.Bounds).ToList();