12 references to NotStarted
Aspire.Hosting (6)
ApplicationModel\CommandsConfigurationExtensions.cs (1)
117
static bool IsStopped(string? state) => KnownResourceStates.TerminalStates.Contains(state) || state == KnownResourceStates.
NotStarted
|| state == "Unknown";
ApplicationModel\CustomResourceSnapshot.cs (1)
396
public static readonly string NotStarted = nameof(
NotStarted
);
Dcp\DcpExecutor.cs (3)
432
return new(KnownResourceStates.
NotStarted
, null, null);
978
await _executorEvents.PublishAsync(new OnResourceChangedContext(cancellationToken, resourceType, resource, er.DcpResource.Metadata.Name, new ResourceStatus(KnownResourceStates.
NotStarted
, null, null), s => s with { State = new ResourceStateSnapshot(KnownResourceStates.
NotStarted
, null) })).ConfigureAwait(false);
Dcp\ResourceSnapshotBuilder.cs (1)
31
state = KnownResourceStates.
NotStarted
;
Aspire.Hosting.Tests (4)
DistributedApplicationTests.cs (3)
178
var notStartedResourceEvent = await rns.WaitForResourceAsync(notStartedResourceName, e => e.Snapshot.State?.Text == KnownResourceStates.
NotStarted
).DefaultTimeout(TestConstants.LongTimeoutTimeSpan);
253
var notStartedResourceEvent = await rns.WaitForResourceAsync(notStartedResourceName, e => e.Snapshot.State?.Text == KnownResourceStates.
NotStarted
).DefaultTimeout(TestConstants.LongTimeoutTimeSpan);
334
notStartedResourceEvent = await rns.WaitForResourceAsync(notStartedResourceName, e => e.Snapshot.State?.Text == KnownResourceStates.
NotStarted
).DefaultTimeout(TestConstants.ExtraLongTimeoutTimeSpan);
WithUrlsTests.cs (1)
414
State = KnownResourceStates.
NotStarted
,
CustomResources.AppHost (2)
TalkingClockResource.cs (2)
112
State = KnownResourceStates.
NotStarted
, // Use an Aspire well-known state.
134
State = KnownResourceStates.
NotStarted
,