10 references to State
aspire (10)
Commands\RunCommand.cs (10)
222var stateRenderable = knownResource.Value.State switch 224"Running" => new Text(knownResource.Value.State, new Style().Foreground(Color.Green)), 225"Starting" => new Text(knownResource.Value.State, new Style().Foreground(Color.LightGreen)), 226"FailedToStart" => new Text(knownResource.Value.State, new Style().Foreground(Color.Red)), 227"Waiting" => new Text(knownResource.Value.State, new Style().Foreground(Color.White)), 228"Unhealthy" => new Text(knownResource.Value.State, new Style().Foreground(Color.Yellow)), 229"Exited" => new Text(knownResource.Value.State, new Style().Foreground(Color.Grey)), 230"Finished" => new Text(knownResource.Value.State, new Style().Foreground(Color.Grey)), 231"NotStarted" => new Text(knownResource.Value.State, new Style().Foreground(Color.Grey)), 232_ => new Text(knownResource.Value.State ?? "Unknown", new Style().Foreground(Color.Grey))