15 references to Running
Aspire.Hosting.Native.Core (6)
Runtime\ResourceWorkload.cs (1)
292publish(ResourceState.Running, lease.Endpoint);
Runtime\RuntimeGeneration.cs (3)
355resource.State != ResourceState.Running && !resource.AllocationPrepared) 763if (state is not (ResourceState.Starting or ResourceState.Running or ResourceState.Failed or ResourceState.Stopped) || 764(healthy && state != ResourceState.Running) || urls.Length > 32 ||
Runtime\RuntimeStates.cs (2)
22"Running" => ResourceState.Running, 84ResourceState.Running => "Running",
Aspire.Hosting.Native.Core.Tests (6)
NativeTimeProviderTests.cs (1)
211cache.Publish(ResourceState.Running, healthy: true, []);
ResourceWorkloadTests.cs (1)
96cacheOwner.Publish(ResourceState.Running, healthy: true, []);
RuntimeObservationTests.cs (2)
29firstOwner.Publish(ResourceState.Running, healthy: true, ["http://localhost:8000"]); 52owner.Publish(ResourceState.Running, healthy: true, []);
SymbolicValueTests.cs (2)
115sourceOwner.Publish(ResourceState.Running, true, []); 223Assert.Throws<ArgumentException>(() => owner.Publish(ResourceState.Running, false, ["https://example.test/?token=metadata-secret"]));
Aspire.Hosting.Native.Server (3)
Auxiliary\NativeAuxiliaryBackchannel.cs (2)
457NativeWaitTarget.Up => resource.State == ResourceState.Running, 458NativeWaitTarget.Healthy => resource.State == ResourceState.Running && resource.Healthy,
Dashboard\NativeDashboardService.cs (1)
299StateStyle = snapshot.State switch { ResourceState.Running => "success", ResourceState.Failed => "error", _ => "info" }