19 references to NotStarted
Aspire.Hosting (8)
ApplicationModel\CommandsConfigurationExtensions.cs (1)
135
static bool IsStopped(string? state) => KnownResourceStates.TerminalStates.Contains(state) || state == KnownResourceStates.
NotStarted
|| state == "Unknown";
ApplicationModel\CustomResourceSnapshot.cs (1)
413
public static readonly string NotStarted = nameof(
NotStarted
);
ConnectionStringBuilderExtensions.cs (1)
85
State = KnownResourceStates.
NotStarted
,
Dcp\DcpExecutor.cs (3)
626
return new(KnownResourceStates.
NotStarted
, null, null);
1647
er.DcpResource.Metadata.Name, new ResourceStatus(KnownResourceStates.
NotStarted
, null, null), s => s with { State = new ResourceStateSnapshot(KnownResourceStates.
NotStarted
, null) })
Dcp\ResourceSnapshotBuilder.cs (1)
31
state = KnownResourceStates.
NotStarted
;
ProjectResourceBuilderExtensions.cs (1)
934
State = KnownResourceStates.
NotStarted
,
Aspire.Hosting.DevTunnels (2)
DevTunnelResourceBuilderExtensions.cs (2)
113
State = KnownResourceStates.
NotStarted
,
655
State = KnownResourceStates.
NotStarted
,
Aspire.Hosting.Tests (7)
AddConnectionStringTests.cs (1)
67
Assert.Equal(KnownResourceStates.
NotStarted
, state.State?.Text);
DistributedApplicationTests.cs (5)
191
var notStartedResourceEvent = await rns.WaitForResourceAsync(notStartedResourceName, e => e.Snapshot.State?.Text == KnownResourceStates.
NotStarted
, token).DefaultTimeout(TestConstants.LongTimeoutTimeSpan);
288
await rns.WaitForResourceAsync(explicitStartResourceName, e => e.Snapshot.State?.Text == KnownResourceStates.
NotStarted
, token).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout);
328
var notStartedResourceEvent = await rns.WaitForResourceAsync(explicitStartResourceName, e => e.Snapshot.State?.Text == KnownResourceStates.
NotStarted
, token).DefaultTimeout(TestConstants.LongTimeoutTimeSpan);
400
var notStartedResourceEvent = await rns.WaitForResourceAsync(notStartedResourceName, e => e.Snapshot.State?.Text == KnownResourceStates.
NotStarted
, token).DefaultTimeout(TestConstants.LongTimeoutTimeSpan);
483
notStartedResourceEvent = await rns.WaitForResourceAsync(notStartedResourceName, e => e.Snapshot.State?.Text == KnownResourceStates.
NotStarted
, token).DefaultTimeout(TestConstants.ExtraLongTimeoutTimeSpan);
WithUrlsTests.cs (1)
550
State = KnownResourceStates.
NotStarted
,
CustomResources.AppHost (2)
TalkingClockResource.cs (2)
45
State = KnownResourceStates.
NotStarted
, // Use an Aspire well-known state.
134
State = KnownResourceStates.
NotStarted
,