2 writes to IsRunning
aspire-tray (2)
src\Aspire.Tray\Common\TrayController.cs (2)
589
IsRunning
= !stopped,
649
IsRunning
= false,
11 references to IsRunning
aspire-tray (11)
NativeSmokeHarness.cs (2)
268
if (!state.AppHosts.Any(host => host.
IsRunning
&& TrayAppHostPath.Comparer.Equals(host.Id.AppHostPath, _pinned)))
273
_application.ClickPanelForSmoke(PanelTargetKind.Dashboard, state.AppHosts.Single(host => host.
IsRunning
).Id);
src\Aspire.Tray\Common\IAppHostClient.cs (1)
97
public bool HasActiveAppHosts { get; init; } = AppHosts.Any(host => host.
IsRunning
|| host.IsStarting);
src\Aspire.Tray\Common\TrayController.cs (1)
607
var running = rows.Count(row => row.
IsRunning
);
src\Aspire.Tray\Common\TrayIconStatus.cs (1)
50
|| (host.
IsRunning
&& host.Id.AppHostPid != 0 && host.Health is AppHostHealth.Warning or AppHostHealth.Unhealthy));
src\Aspire.Tray\Common\TrayPanel.cs (5)
1546
{
IsRunning
: false } => host.Error is null ? PanelStatusGlyph.Stopped : PanelStatusGlyph.Warning,
1570
{
IsRunning
: false } when host.Id.AppHostPid == 0 && host.Subtitle != "Stopped" => host.Subtitle,
1571
{
IsRunning
: false } => "Stopped",
1597
var running = state.AppHosts.Count(host => host.
IsRunning
&& host.Id.AppHostPid != 0);
1600
|| (host.
IsRunning
&& host.Id.AppHostPid != 0 && host.Health is AppHostHealth.Warning or AppHostHealth.Unhealthy));
TrayApplication.Actions.cs (1)
129
if (controller.State.AppHosts.Any(host => host.IsPinned && !host.
IsRunning
&& TrayAppHostPath.Comparer.Equals(host.Id.AppHostPath, path)))