18 references to Finished
Aspire.Hosting (6)
ApplicationModel\CustomResourceSnapshot.cs (2)
363
public static readonly string Finished = nameof(
Finished
);
378
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)
139
await rns.WaitForResourceAsync(dependentResourceName, e => e.Snapshot.State?.Text == KnownResourceStates.
Finished
).DefaultTimeout(TestConstants.LongTimeoutTimeSpan);
201
await rns.WaitForResourceAsync(notStartedResourceName, e => e.Snapshot.State?.Text == KnownResourceStates.
Finished
).DefaultTimeout(TestConstants.LongTimeoutTimeSpan);
WaitForTests.cs (10)
199
[InlineData(nameof(KnownResourceStates.
Finished
))]
310
[InlineData(nameof(KnownResourceStates.
Finished
))]
344
[InlineData(nameof(KnownResourceStates.
Finished
))]
386
[InlineData(nameof(KnownResourceStates.
Finished
))]
461
State = KnownResourceStates.
Finished
,
508
State = KnownResourceStates.
Finished
,
617
State = KnownResourceStates.
Finished
,
719
State = KnownResourceStates.
Finished
,
727
State = KnownResourceStates.
Finished
,
768
State = KnownResourceStates.
Finished