23 references to Finished
Aspire.Hosting (8)
ApplicationModel\CommandsConfigurationExtensions.cs (1)
338State = new ResourceStateSnapshot(KnownResourceStates.Finished, KnownResourceStateStyles.Info)
ApplicationModel\CustomResourceSnapshot.cs (3)
403public static readonly string Finished = nameof(Finished); 428public static readonly IReadOnlyList<string> TerminalStates = [Finished, FailedToStart, Exited]; 433public static readonly IReadOnlyList<string> BuildableStates = [Running, Waiting, Finished, FailedToStart, Exited];
ApplicationModel\ResourceNotificationService.cs (4)
258snapshot.State?.Text == KnownResourceStates.Finished || 311else if ((snapshot.State!.Text == KnownResourceStates.Finished || snapshot.State!.Text == KnownResourceStates.Exited) && snapshot.ExitCode is not null && snapshot.ExitCode != exitCode) 382else if (snapshot.State!.Text == KnownResourceStates.Finished || 406snapshot.State?.Text == KnownResourceStates.Finished ||
Aspire.Hosting.DevTunnels (1)
DevTunnelResourceBuilderExtensions.cs (1)
764State = KnownResourceStates.Finished,
Aspire.Hosting.DotnetTool.Tests (2)
DotnetToolFunctionalTests.cs.cs (2)
26Assert.Equal(KnownResourceStates.Finished, terminalState); 48Assert.Equal(KnownResourceStates.Finished, terminalState);
Aspire.Hosting.Tests (12)
DistributedApplicationTests.cs (2)
153await rns.WaitForResourceAsync(dependentResourceName, e => e.Snapshot.State?.Text == KnownResourceStates.Finished, token).DefaultTimeout(TestConstants.LongTimeoutTimeSpan); 230await rns.WaitForResourceAsync(notStartedResourceName, e => e.Snapshot.State?.Text == KnownResourceStates.Finished, token).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))] 461State = KnownResourceStates.Finished, 508State = KnownResourceStates.Finished, 617State = KnownResourceStates.Finished, 719State = KnownResourceStates.Finished, 727State = KnownResourceStates.Finished, 768State = KnownResourceStates.Finished