24 references to Starting
Aspire.Hosting (9)
ApplicationModel\CommandsConfigurationExtensions.cs (2)
137static bool IsStarting(string? state) => state == KnownResourceStates.Starting; 295State = new ResourceStateSnapshot(KnownResourceStates.Starting, KnownResourceStateStyles.Info)
ApplicationModel\CustomResourceSnapshot.cs (1)
373public static readonly string Starting = nameof(Starting);
ApplicationModel\ResourceNotificationService.cs (2)
280|| s.State?.Text == KnownResourceStates.Starting 346|| s.State?.Text == KnownResourceStates.Starting
Orchestrator\ApplicationOrchestrator.cs (4)
174State = KnownResourceStates.Starting, 183State = KnownResourceStates.Starting, 190await SetChildResourceAsync(context.Resource, state: KnownResourceStates.Starting, startTimeStamp: null, stopTimeStamp: null).ConfigureAwait(false); 576return s with { State = KnownResourceStates.Starting };
Aspire.Hosting.DevTunnels (2)
DevTunnelResourceBuilderExtensions.cs (2)
197State = KnownResourceStates.Starting 691State = KnownResourceStates.Starting,
Aspire.Hosting.Foundry (1)
FoundryExtensions.cs (1)
253State = new ResourceStateSnapshot(KnownResourceStates.Starting, KnownResourceStateStyles.Info)
Aspire.Hosting.Tests (12)
Health\ResourceHealthCheckServiceTests.cs (10)
35State = new ResourceStateSnapshot(KnownResourceStates.Starting, null) 38var startingEvent = await app.ResourceNotifications.WaitForResourceAsync("resource", e => e.Snapshot.State?.Text == KnownResourceStates.Starting).DefaultTimeout(); 75State = new ResourceStateSnapshot(KnownResourceStates.Starting, null) 78var startingEvent = await app.ResourceNotifications.WaitForResourceAsync("resource", e => e.Snapshot.State?.Text == KnownResourceStates.Starting).DefaultTimeout(); 118State = new ResourceStateSnapshot(KnownResourceStates.Starting, null) 121var startingEvent = await app.ResourceNotifications.WaitForResourceAsync("resource", e => e.Snapshot.State?.Text == KnownResourceStates.Starting).DefaultTimeout(); 584State = new ResourceStateSnapshot(KnownResourceStates.Starting, null) 587var startingEvent = await app.ResourceNotifications.WaitForResourceAsync("resource", e => e.Snapshot.State?.Text == KnownResourceStates.Starting).DefaultTimeout(); 630State = new ResourceStateSnapshot(KnownResourceStates.Starting, null) 633var startingEvent = await app.ResourceNotifications.WaitForResourceAsync("resource", e => e.Snapshot.State?.Text == KnownResourceStates.Starting).DefaultTimeout();
WithHttpCommandTests.cs (2)
421State = KnownResourceStates.Starting 426e => e.Snapshot.State?.Text == KnownResourceStates.Starting).DefaultTimeout();