39 writes to Properties
Aspire.Cli.Tests (39)
Backchannel\ResourceSnapshotMapperTests.cs (2)
60
Properties
=
391
Properties
= new Dictionary<string, JsonNode?>
Commands\DescribeCommandTests.cs (1)
959
Properties
= new Dictionary<string, JsonNode?>
Commands\TerminalResourceResolverTests.cs (8)
53
new() { Name = "shell-abc123", DisplayName = "shell",
Properties
= Properties(replicaIndex) }
83
new() { Name = "shell-abc123", DisplayName = "shell",
Properties
= Properties("0") },
84
new() { Name = "shell-def456", DisplayName = "shell",
Properties
= Properties("1") }
108
new() { Name = "other-abc123", DisplayName = "shell-def456",
Properties
= Properties("0") },
109
new() { Name = "shell-def456", DisplayName = "shell",
Properties
= Properties("1") }
214
new() { Name = "shell-def456", DisplayName = "shell",
Properties
= Properties(replicaIndex) }
252
Properties
= new() { [KnownProperties.Terminal.ReplicaIndex] = JsonNode.Parse(json) }
306
new() { Name = "shell-abc123", DisplayName = "shell",
Properties
= Properties("0") }
Commands\TerminalTapePlayCommandTests.cs (2)
211
Properties
= new() { [KnownProperties.Terminal.ReplicaIndex] = JsonValue.Create("0") }
217
Properties
= new() { [KnownProperties.Terminal.ReplicaIndex] = JsonValue.Create("1") }
Mcp\ExcludeFromMcpTests.cs (10)
32
Properties
= []
44
Properties
= new Dictionary<string, JsonNode?>
59
Properties
= new Dictionary<string, JsonNode?>
74
Properties
= new Dictionary<string, JsonNode?>
89
Properties
= new Dictionary<string, JsonNode?>
129
Properties
= new Dictionary<string, JsonNode?>
171
Properties
= new Dictionary<string, JsonNode?>
217
Properties
= new Dictionary<string, JsonNode?>
289
Properties
= new Dictionary<string, JsonNode?>
483
Properties
= new Dictionary<string, JsonNode?>
Mcp\ListResourcesToolTests.cs (13)
399
Properties
= new Dictionary<string, JsonNode?>
731
Properties
= new Dictionary<string, JsonNode?>
741
Properties
= new Dictionary<string, JsonNode?>
769
Properties
= new Dictionary<string, JsonNode?>
780
Properties
= new Dictionary<string, JsonNode?>
791
Properties
= new Dictionary<string, JsonNode?>
820
Properties
= new Dictionary<string, JsonNode?>
893
Properties
= new Dictionary<string, JsonNode?>
971
Properties
= new Dictionary<string, JsonNode?>
982
Properties
= new Dictionary<string, JsonNode?>
992
Properties
= new Dictionary<string, JsonNode?>
1002
Properties
= new Dictionary<string, JsonNode?>
1060
Properties
= new Dictionary<string, JsonNode?>
Mcp\WaitForResourcesToolTests.cs (3)
106
Properties
=
264
Properties
=
375
Properties
=
8 references to Properties
aspire (7)
Backchannel\ResourceSnapshotMapper.cs (3)
87
var properties = snapshot.
Properties
.OrderBy(p => p.Key).ToDistinctDictionary(
134
var stringProperties = snapshot.
Properties
.OrderBy(p => p.Key).ToDistinctDictionary(
177
snapshot.
Properties
.TryGetValue(KnownProperties.Resource.WaitingFor, out var waitingForProperty) &&
Commands\TerminalResourceResolver.cs (1)
91
if (snapshot.
Properties
.TryGetValue(KnownProperties.Terminal.ReplicaIndex, out var property))
Mcp\Tools\ListResourcesTool.cs (2)
503
if (snapshot.
Properties
.TryGetValue(KnownProperties.Resource.Source, out var explicitSourceNode) &&
539
if (snapshot.
Properties
.TryGetValue(propertyName, out var value) &&
Mcp\Tools\McpToolHelpers.cs (1)
372
if (snapshot.
Properties
.TryGetValue(KnownProperties.Resource.ExcludeFromMcp, out var value) && value is not null)
Aspire.Cli.Tests (1)
Backchannel\ResourceSnapshotMapperTests.cs (1)
47
var pid = Assert.IsAssignableFrom<JsonValue>(snapshot.
Properties
["executable.pid"]);