1 instantiation of TrayPanelScene
Aspire.Tray.Tests (1)
src\Aspire.Tray\Common\TrayPanel.cs (1)
916
return
new
(Width, height, commands, targets, accessible);
18 references to TrayPanelScene
Aspire.Tray.Tests (18)
Helpers\TrayPanelSvgRenderer.cs (2)
11
/// Renders a <see cref="
TrayPanelScene
"/> to SVG for previews and documentation. It mirrors the
23
public static string Render(
TrayPanelScene
scene, byte[]? logoPng = null, double margin = 0)
src\Aspire.Tray\Common\TrayPanel.cs (4)
10
/// <see cref="
TrayPanelScene
"/>. The macOS and Windows hosts only forward input, draw the display
52
private
TrayPanelScene
? _scene;
109
public
TrayPanelScene
Scene => _scene ??= Build();
720
private
TrayPanelScene
Build()
TrayPanelTests.cs (12)
71
var
scene = panel.Scene;
93
var
scene = CreatePanel(name, TrayPanelPalette.Dark).Scene;
111
var
scene = CreatePanel(name, TrayPanelPalette.Light).Scene;
131
var
scene = new TrayPanel(TrayPanelSamples.Typical(), TrayPanelPalette.Light).Scene;
467
var
scene = panel.Scene;
828
var
scene = new TrayPanel(TrayPanelSamples.Errors(), TrayPanelPalette.Light).Scene;
863
var
scene = panel.Scene;
894
var
scene = new TrayPanel(state, TrayPanelPalette.Light).Scene;
1130
var
scene = new TrayPanel(TrayPanelSamples.Errors(), palette).Scene;
1192
var
scene = CreatePanel(name, TrayPanelPalette.Light).Scene;
1205
var
scene = new TrayPanel(state, TrayPanelPalette.Light).Scene;
1341
var
scene = new TrayPanel(TrayPanelSamples.Typical(), TrayPanelPalette.Light).Scene;