1 write to Guides
Aspire.Tray.Tests (1)
src\Aspire.Tray\Common\TrayPanel.cs (1)
940
return new(Width, height, commands, targets, accessible) {
Guides
= _guides };
7 references to Guides
Aspire.Tray.Tests (7)
Helpers\TrayPanelSvgRenderer.cs (1)
126
foreach (var guide in scene.
Guides
)
src\Aspire.Tray\Common\TrayPanelSceneJson.cs (1)
95
foreach (var guide in scene.
Guides
)
TrayPanelTests.cs (5)
874
var lines = scene.
Guides
.Where(guide => guide.Bounds.Contains(text.Bounds.CenterX, text.Bounds.CenterY)).ToList();
888
var centers = scene.
Guides
.Where(guide => guide.Kind == PanelGuideKind.Center).ToList();
905
foreach (var box in scene.
Guides
.Where(guide => guide.Kind == PanelGuideKind.Box))
932
var guides = scene.
Guides
.Where(guide => guide.Label == "open-in app icon").Select(guide => guide.Bounds).ToList();
936
Assert.All(scene.
Guides
.Where(guide => guide.Label == "action icon"), guide => Assert.Equal(TrayPanel.LeadingCenter, guide.Bounds.CenterX));