50 references to Starting
Aspire.Hosting (8)
ApplicationModel\CommandsConfigurationExtensions.cs (2)
138static bool IsStarting(string? state) => state == KnownResourceStates.Starting; 330State = new ResourceStateSnapshot(KnownResourceStates.Starting, KnownResourceStateStyles.Info)
ApplicationModel\KnownResourceStates.cs (1)
20public static readonly string Starting = nameof(Starting);
ApplicationModel\ResourceNotificationService.cs (1)
652|| state == KnownResourceStates.Starting
Orchestrator\ApplicationOrchestrator.cs (4)
245State = KnownResourceStates.Starting, 258State = KnownResourceStates.Starting, 270await SetChildResourceAsync(context.Resource, state: KnownResourceStates.Starting, startTimeStamp: null, stopTimeStamp: null).ConfigureAwait(false); 659return s with { State = KnownResourceStates.Starting };
Aspire.Hosting.Blazor.Tests (2)
BrowserDebuggerHelperTests.cs (2)
29snapshot => snapshot with { State = KnownResourceStates.Starting }).DefaultTimeout(); 61snapshot => snapshot with { State = KnownResourceStates.Starting }).DefaultTimeout();
Aspire.Hosting.Browsers (2)
BrowserLogsBuilderExtensions.cs (1)
180if (childState == KnownResourceStates.Starting)
BrowserLogsSessionManager.cs (1)
101stateText: KnownResourceStates.Starting,
Aspire.Hosting.Browsers.Tests (2)
src\Aspire.Hosting.Browsers\BrowserLogsBuilderExtensions.cs (1)
180if (childState == KnownResourceStates.Starting)
src\Aspire.Hosting.Browsers\BrowserLogsSessionManager.cs (1)
101stateText: KnownResourceStates.Starting,
Aspire.Hosting.DevTunnels (1)
DevTunnelResourceBuilderExtensions.cs (1)
201State = KnownResourceStates.Starting
Aspire.Hosting.Dotnet (1)
DotnetProjectBuildCoordinator.cs (1)
306(state == KnownResourceStates.Starting ||
Aspire.Hosting.Dotnet.Tests (2)
DotnetProjectBuildCoordinatorTests.cs (2)
3641resourceEvent => resourceEvent.Snapshot.State?.Text == KnownResourceStates.Starting, 3662resourceEvent => resourceEvent.Snapshot.State?.Text == KnownResourceStates.Starting,
Aspire.Hosting.EntityFrameworkCore (1)
EFResourceBuilderExtensions.cs (1)
559State = KnownResourceStates.Starting,
Aspire.Hosting.Foundry (1)
FoundryExtensions.cs (1)
351State = new ResourceStateSnapshot(KnownResourceStates.Starting, KnownResourceStateStyles.Info)
Aspire.Hosting.MongoDB (2)
ReplicaSet\MongoDBReplicaSetBuilderExtensions.cs (2)
136State = KnownResourceStates.Starting, 519? s with { State = KnownResourceStates.Starting }
Aspire.Hosting.MongoDB.Tests (3)
ReplicaSet\AddMongoDBReplicaSetTests.cs (2)
354Assert.Equal(KnownResourceStates.Starting, GetReplicaSetState()); 360Assert.Equal(KnownResourceStates.Starting, GetReplicaSetState());
tests\Shared\ContainerReplCommandTestBase.cs (1)
43[InlineData(nameof(KnownResourceStates.Starting), "container-id", ResourceCommandState.Disabled)]
Aspire.Hosting.MySql.Tests (1)
tests\Shared\ContainerReplCommandTestBase.cs (1)
43[InlineData(nameof(KnownResourceStates.Starting), "container-id", ResourceCommandState.Disabled)]
Aspire.Hosting.PostgreSQL.Tests (1)
tests\Shared\ContainerReplCommandTestBase.cs (1)
43[InlineData(nameof(KnownResourceStates.Starting), "container-id", ResourceCommandState.Disabled)]
Aspire.Hosting.Redis.Tests (1)
tests\Shared\ContainerReplCommandTestBase.cs (1)
43[InlineData(nameof(KnownResourceStates.Starting), "container-id", ResourceCommandState.Disabled)]
Aspire.Hosting.SqlServer.Tests (1)
tests\Shared\ContainerReplCommandTestBase.cs (1)
43[InlineData(nameof(KnownResourceStates.Starting), "container-id", ResourceCommandState.Disabled)]
Aspire.Hosting.Tests (20)
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();
Orchestrator\ApplicationOrchestratorTests.cs (3)
616Assert.Equal(KnownResourceStates.Starting, snapshotEvent.Snapshot.State?.Text); 957await resourceNotificationService.PublishUpdateAsync(waiter.Resource, s => s with { State = KnownResourceStates.Starting }).DefaultTimeout(); 1017await resourceNotificationService.PublishUpdateAsync(waiter.Resource, s => s with { State = KnownResourceStates.Starting });
ResourceNotificationTests.cs (5)
645State = KnownResourceStates.Starting 895State = KnownResourceStates.Starting 1215Assert.True(await PublishAndGetIsHiddenAsync(notificationService, resourceBuilder, KnownResourceStates.Starting)); 1300Assert.False(await PublishAndGetIsHiddenAsync(notificationService, resourceBuilder, KnownResourceStates.Starting, exitCode: 0)); 1453State = KnownResourceStates.Starting
WithHttpCommandTests.cs (2)
952State = KnownResourceStates.Starting 957e => e.Snapshot.State?.Text == KnownResourceStates.Starting).DefaultTimeout();
Aspire.Hosting.Valkey.Tests (1)
tests\Shared\ContainerReplCommandTestBase.cs (1)
43[InlineData(nameof(KnownResourceStates.Starting), "container-id", ResourceCommandState.Disabled)]