8 writes to State
aspire (1)
Backchannel\ResourceSnapshotMapper.cs (1)
153State = snapshot.State,
Aspire.Cli.Tests (7)
Commands\DescribeCommandTests.cs (7)
329new ResourceJson { Name = "frontend", DisplayName = "frontend", ResourceType = "Project", State = "Running" }, 330new ResourceJson { Name = "postgres", DisplayName = "postgres", ResourceType = "Container", State = "Running" }, 331new ResourceJson { Name = "redis", DisplayName = "redis", ResourceType = "Container", State = "Starting" } 371new ResourceJson { Name = "frontend", DisplayName = "frontend", ResourceType = "Project", State = "Running" }, 372new ResourceJson { Name = "postgres", DisplayName = "postgres", ResourceType = "Container", State = "Running" } 403State = "Running", 423State = "Running",
6 references to State
Aspire.Cli.Tests (6)
Commands\DescribeCommandTests.cs (6)
360Assert.Equal("Starting", parsedLines[2]!.State); 536Assert.Equal("Running", first.State); 542Assert.Equal("Stopping", second.State); 610.ToDictionary(group => group.Key, group => group.Select(resource => resource.State).ToList(), StringComparers.ResourceName); 648Assert.Equal("Running", resource.State); 780Assert.Equal("Running", resource.State);