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