14 references to NotStarted
Aspire.Hosting (7)
ApplicationModel\CommandsConfigurationExtensions.cs (1)
118
static bool IsStopped(string? state) => KnownResourceStates.TerminalStates.Contains(state) || state == KnownResourceStates.
NotStarted
|| state == "Unknown";
ApplicationModel\CustomResourceSnapshot.cs (1)
407
public static readonly string NotStarted = nameof(
NotStarted
);
ConnectionStringBuilderExtensions.cs (1)
84
State = KnownResourceStates.
NotStarted
,
Dcp\DcpExecutor.cs (3)
499
return new(KnownResourceStates.
NotStarted
, null, null);
1118
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 (5)
AddConnectionStringTests.cs (1)
66
Assert.Equal(KnownResourceStates.
NotStarted
, state.State?.Text);
DistributedApplicationTests.cs (3)
177
var notStartedResourceEvent = await rns.WaitForResourceAsync(notStartedResourceName, e => e.Snapshot.State?.Text == KnownResourceStates.
NotStarted
).DefaultTimeout(TestConstants.LongTimeoutTimeSpan);
252
var notStartedResourceEvent = await rns.WaitForResourceAsync(notStartedResourceName, e => e.Snapshot.State?.Text == KnownResourceStates.
NotStarted
).DefaultTimeout(TestConstants.LongTimeoutTimeSpan);
333
notStartedResourceEvent = await rns.WaitForResourceAsync(notStartedResourceName, e => e.Snapshot.State?.Text == KnownResourceStates.
NotStarted
).DefaultTimeout(TestConstants.ExtraLongTimeoutTimeSpan);
WithUrlsTests.cs (1)
452
State = KnownResourceStates.
NotStarted
,
CustomResources.AppHost (2)
TalkingClockResource.cs (2)
44
State = KnownResourceStates.
NotStarted
, // Use an Aspire well-known state.
133
State = KnownResourceStates.
NotStarted
,