12 references to Starting
Aspire.Hosting (6)
ApplicationModel\CommandsConfigurationExtensions.cs (1)
119
static bool IsStarting(string? state) => state == KnownResourceStates.
Starting
;
ApplicationModel\CustomResourceSnapshot.cs (1)
333
public static readonly string Starting = nameof(
Starting
);
Orchestrator\ApplicationOrchestrator.cs (4)
110
State = KnownResourceStates.
Starting
,
121
State = KnownResourceStates.
Starting
,
129
await SetChildResourceAsync(context.Resource, context.DcpResourceName, state: KnownResourceStates.
Starting
, startTimeStamp: null, stopTimeStamp: null).ConfigureAwait(false);
259
return s with { State = KnownResourceStates.
Starting
};
Aspire.Hosting.Tests (6)
Health\ResourceHealthCheckServiceTests.cs (6)
36
State = new ResourceStateSnapshot(KnownResourceStates.
Starting
, null)
39
var startingEvent = await app.ResourceNotifications.WaitForResourceAsync("resource", e => e.Snapshot.State?.Text == KnownResourceStates.
Starting
).DefaultTimeout();
76
State = new ResourceStateSnapshot(KnownResourceStates.
Starting
, null)
79
var startingEvent = await app.ResourceNotifications.WaitForResourceAsync("resource", e => e.Snapshot.State?.Text == KnownResourceStates.
Starting
).DefaultTimeout();
119
State = new ResourceStateSnapshot(KnownResourceStates.
Starting
, null)
122
var startingEvent = await app.ResourceNotifications.WaitForResourceAsync("resource", e => e.Snapshot.State?.Text == KnownResourceStates.
Starting
).DefaultTimeout();