18 references to Finished
Aspire.Hosting (6)
ApplicationModel\CustomResourceSnapshot.cs (2)
375
public static readonly string Finished = nameof(
Finished
);
390
public static readonly IReadOnlyList<string> TerminalStates = [
Finished
, FailedToStart, Exited];
ApplicationModel\ResourceNotificationService.cs (4)
175
else if (snapshot.State!.Text == KnownResourceStates.
Finished
||
213
snapshot.State?.Text == KnownResourceStates.
Finished
||
295
snapshot.State?.Text == KnownResourceStates.
Finished
||
335
else if ((snapshot.State!.Text == KnownResourceStates.
Finished
|| snapshot.State!.Text == KnownResourceStates.Exited) && snapshot.ExitCode is not null && snapshot.ExitCode != exitCode)
Aspire.Hosting.Tests (12)
DistributedApplicationTests.cs (2)
141
await rns.WaitForResourceAsync(dependentResourceName, e => e.Snapshot.State?.Text == KnownResourceStates.
Finished
).DefaultTimeout(TestConstants.LongTimeoutTimeSpan);
203
await rns.WaitForResourceAsync(notStartedResourceName, e => e.Snapshot.State?.Text == KnownResourceStates.
Finished
).DefaultTimeout(TestConstants.LongTimeoutTimeSpan);
WaitForTests.cs (10)
198
[InlineData(nameof(KnownResourceStates.
Finished
))]
309
[InlineData(nameof(KnownResourceStates.
Finished
))]
343
[InlineData(nameof(KnownResourceStates.
Finished
))]
385
[InlineData(nameof(KnownResourceStates.
Finished
))]
460
State = KnownResourceStates.
Finished
,
507
State = KnownResourceStates.
Finished
,
616
State = KnownResourceStates.
Finished
,
718
State = KnownResourceStates.
Finished
,
726
State = KnownResourceStates.
Finished
,
767
State = KnownResourceStates.
Finished