26 references to ResourceWaitTarget
aspire (18)
Backchannel\ResourceWaitService.cs (8)
51ResourceWaitTarget target, 68ResourceWaitTarget target, 91ResourceWaitTarget target, 143ResourceWaitTarget target, 183internal static string GetProtocolValue(ResourceWaitTarget target) 187ResourceWaitTarget.Healthy => "healthy", 188ResourceWaitTarget.Up => "up", 189ResourceWaitTarget.Down => "down",
Commands\WaitCommand.cs (4)
174private static ResourceWaitTarget GetWaitTarget(string status) 178"healthy" => ResourceWaitTarget.Healthy, 179"up" => ResourceWaitTarget.Up, 180"down" => ResourceWaitTarget.Down,
Mcp\Tools\WaitForResourcesTool.cs (6)
258var targetState = ResourceWaitTarget.Healthy; 271"healthy" => ResourceWaitTarget.Healthy, 272"up" => ResourceWaitTarget.Up, 273"down" => ResourceWaitTarget.Down, 404ResourceWaitTarget TargetState,
Aspire.Cli.Tests (8)
Backchannel\ResourceWaitServiceTests.cs (8)
19var target = expectedStatus switch 21"healthy" => ResourceWaitTarget.Healthy, 22"up" => ResourceWaitTarget.Up, 23"down" => ResourceWaitTarget.Down, 77ResourceWaitTarget.Down, 110ResourceWaitTarget.Healthy, 145backchannel, ["api", "worker"], ResourceWaitTarget.Healthy, 30, TestContext.Current.CancellationToken); 188backchannel, ["api", "worker"], ResourceWaitTarget.Healthy, 30, TestContext.Current.CancellationToken);