34 writes to State
Aspire.Cli.Tests (34)
Backchannel\ResourceSnapshotMapperTests.cs (13)
19
State
= "Running",
64
new() { Name = "cache-zuyppzgw", DisplayName = "cache", ResourceType = "Container",
State
= "Running" },
65
new() { Name = "frontend", DisplayName = "frontend", ResourceType = "Project",
State
= "Running" }
79
new() { Name = "cache-zuyppzgw", DisplayName = "cache", ResourceType = "Container",
State
= "Running" },
80
new() { Name = "frontend", DisplayName = "frontend", ResourceType = "Project",
State
= "Running" }
94
new() { Name = "cache-abc12345", DisplayName = "cache", ResourceType = "Container",
State
= "Running" },
95
new() { Name = "cache-def67890", DisplayName = "cache", ResourceType = "Container",
State
= "Running" },
96
new() { Name = "frontend", DisplayName = "frontend", ResourceType = "Project",
State
= "Running" }
109
new() { Name = "cache-abc12345", DisplayName = "cache", ResourceType = "Container",
State
= "Running" },
110
new() { Name = "cache-def67890", DisplayName = "cache", ResourceType = "Container",
State
= "Running" },
111
new() { Name = "frontend", DisplayName = "frontend", ResourceType = "Project",
State
= "Running" }
125
new() { Name = "cache-zuyppzgw", DisplayName = "cache", ResourceType = "Container",
State
= "Running" }
138
new() { Name = "Cache-Zuyppzgw", DisplayName = "Cache", ResourceType = "Container",
State
= "Running" }
Commands\AgentMcpCommandTests.cs (5)
171
State
= "Running",
241
State
= "Running",
318
State
= "Running",
434
State
= "Running",
523
State
= "Running",
Commands\DescribeCommandTests.cs (8)
262
new ResourceSnapshot { Name = "redis", DisplayName = "redis", ResourceType = "Container",
State
= "Running" },
264
new ResourceSnapshot { Name = "redis", DisplayName = "redis", ResourceType = "Container",
State
= "Running" },
266
new ResourceSnapshot { Name = "redis", DisplayName = "redis", ResourceType = "Container",
State
= "Stopping" },
268
new ResourceSnapshot { Name = "redis", DisplayName = "redis", ResourceType = "Container",
State
= "Stopping" },
306
new ResourceSnapshot { Name = "redis", DisplayName = "redis", ResourceType = "Container",
State
= "Running" },
308
new ResourceSnapshot { Name = "redis", DisplayName = "redis", ResourceType = "Container",
State
= "Running" },
310
new ResourceSnapshot { Name = "redis", DisplayName = "redis", ResourceType = "Container",
State
= "Stopping" },
312
new ResourceSnapshot { Name = "redis", DisplayName = "redis", ResourceType = "Container",
State
= "Stopping" },
Commands\LogsCommandTests.cs (3)
594
State
= "Running"
602
State
= "Running"
609
State
= "Running"
Mcp\ListResourcesToolTests.cs (5)
63
State
= "Running"
70
State
= "Running"
77
State
= "Starting"
108
State
= "Running",
148
State
= "Running",
4 references to State
aspire (4)
Backchannel\ResourceSnapshotMapper.cs (2)
122
State = snapshot.
State
,
195
if (string.Equals(item.
State
, "Hidden", StringComparison.OrdinalIgnoreCase))
Commands\DescribeCommand.cs (2)
286
var stateText = ColorState(snapshot.
State
);
303
return new ResourceDisplayState(displayName, snapshot.
State
, snapshot.HealthStatus, endpoints);