10 references to FailedToStart
Aspire.Hosting (5)
ApplicationModel\CustomResourceSnapshot.cs (2)
301
public static readonly string FailedToStart = nameof(
FailedToStart
);
326
public static readonly IReadOnlyList<string> TerminalStates = [Finished,
FailedToStart
, Exited];
ApplicationModel\ResourceNotificationService.cs (3)
132
if (snapshot.State?.Text == KnownResourceStates.
FailedToStart
)
168
snapshot.State?.Text == KnownResourceStates.
FailedToStart
;
200
if (snapshot.State?.Text == KnownResourceStates.
FailedToStart
)
Aspire.Hosting.Tests (5)
WaitForTests.cs (5)
32
await rns.WaitForResourceAsync(throwingResource.Resource.Name, KnownResourceStates.
FailedToStart
, abortCts.Token);
33
await rns.WaitForResourceAsync(dependingContainerResource.Resource.Name, KnownResourceStates.
FailedToStart
, abortCts.Token);
34
await rns.WaitForResourceAsync(dependingExecutableResource.Resource.Name, KnownResourceStates.
FailedToStart
, abortCts.Token);
212
await rns.WaitForResourceAsync(nginx.Resource.Name, KnownResourceStates.
FailedToStart
, runningStateCts.Token);
259
await rns.WaitForResourceAsync(nginx.Resource.Name, KnownResourceStates.
FailedToStart
, runningStateCts.Token);