11 references to GetMenuStatus
aspire-tray (11)
TrayApplication.Menus.cs (2)
101SetMenuBitmap(parent, position, _artwork!.Status(GetMenuStatus(host, discoveryAvailable)), byPosition: true); 156_artwork!.Status(GetMenuStatus(host, state.Discovery == DiscoveryState.Live)), byPosition: true);
TrayApplication.NativeSmoke.cs (9)
246&& item.Bitmap == _artwork.Status(GetMenuStatus(host, state.Discovery == DiscoveryState.Live)), 323NativeSmokeHarness.Require(GetMenuStatus(host with { Health = health }, true) == status, 326NativeSmokeHarness.Require(GetMenuStatus(host with { IsStarting = true }, true) == MenuStatus.Warning 327&& GetMenuStatus(host with { IsStopping = true }, true) == MenuStatus.Warning 328&& GetMenuStatus(host, false) == MenuStatus.Warning 329&& GetMenuStatus(host with { Error = "Stop failed." }, true) == MenuStatus.Unhealthy 330&& GetMenuStatus(host with { IsRunning = false }, true) == MenuStatus.Stopped 331&& GetMenuStatus(null, true) == MenuStatus.Unknown, 347? _artwork!.Status(GetMenuStatus(host, state.Discovery == DiscoveryState.Live))