7 references to IsEmpty
Aspire.Tray.Tests (7)
src\Aspire.Tray\Common\TrayPanelScene.cs (1)
228
public bool IsOffscreen => VisibleBounds.
IsEmpty
;
src\Aspire.Tray\Common\TrayPanelSceneJson.cs (1)
84
foreach (var target in scene.Targets.Where(target => !target.HitBounds.
IsEmpty
))
TrayPanelTests.cs (5)
78
Assert.True(bounds.Contains(target.HitBounds) || target.HitBounds.
IsEmpty
, $"{target.Key} at {target.HitBounds}");
79
Assert.True(target.HitBounds.
IsEmpty
|| target.Bounds.Contains(target.HitBounds));
86
target => Assert.True(target.HitBounds.
IsEmpty
|| panel.Viewport.Contains(target.HitBounds)));
494
Assert.True(first.HitBounds.
IsEmpty
);
891
or PanelTargetKind.Quit or PanelTargetKind.Back).Where(target => !target.HitBounds.
IsEmpty
))