12 references to Exited
Aspire.Hosting (6)
ApplicationModel\CustomResourceSnapshot.cs (2)
358
public static readonly string Exited = nameof(
Exited
);
378
public static readonly IReadOnlyList<string> TerminalStates = [Finished, FailedToStart,
Exited
];
ApplicationModel\ResourceNotificationService.cs (4)
176
snapshot.State.Text == KnownResourceStates.
Exited
||
214
snapshot.State?.Text == KnownResourceStates.
Exited
||
296
snapshot.State?.Text == KnownResourceStates.
Exited
||
335
else if ((snapshot.State!.Text == KnownResourceStates.Finished || snapshot.State!.Text == KnownResourceStates.
Exited
) && snapshot.ExitCode is not null && snapshot.ExitCode != exitCode)
Aspire.Hosting.Tests (6)
DistributedApplicationTests.cs (1)
263
await rns.WaitForResourceAsync(notStartedResourceName, e => e.Snapshot.State?.Text == KnownResourceStates.
Exited
).DefaultTimeout(TestConstants.LongTimeoutTimeSpan);
Health\ResourceHealthCheckServiceTests.cs (1)
182
State = new ResourceStateSnapshot(KnownResourceStates.
Exited
, null)
WaitForTests.cs (4)
196
[InlineData(nameof(KnownResourceStates.
Exited
))]
307
[InlineData(nameof(KnownResourceStates.
Exited
))]
341
[InlineData(nameof(KnownResourceStates.
Exited
))]
383
[InlineData(nameof(KnownResourceStates.
Exited
))]