5 writes to State
Aspire.Cli.Tests (5)
Commands\WaitCommandTests.cs (4)
172WaitForResourceResult = new WaitForResourceResponse { Success = true, State = "Running" } 197WaitForResourceResult = new WaitForResourceResponse { Success = true, State = "Running", HealthStatus = "Healthy" } 252WaitForResourceResult = new WaitForResourceResponse { Success = true, State = "Exited" } 280State = "FailedToStart",
TestServices\TestAppHostAuxiliaryBackchannel.cs (1)
116public WaitForResourceResponse WaitForResourceResult { get; set; } = new WaitForResourceResponse { Success = true, State = "Running" };
2 references to State
aspire (2)
Backchannel\AppHostAuxiliaryBackchannel.cs (1)
768_logger?.LogDebug("Wait for resource '{ResourceName}' completed: success={Success}, state={State}", resourceName, response.Success, response.State);
Commands\WaitCommand.cs (1)
145_interactionService.DisplayError(string.Format(CultureInfo.CurrentCulture, WaitCommandStrings.ResourceEnteredFailedState, resourceName, response.State ?? response.ErrorMessage));