39 writes to Properties
Aspire.Cli.Tests (39)
Backchannel\ResourceSnapshotMapperTests.cs (2)
44
Properties
=
375
Properties
= new Dictionary<string, JsonNode?>
Commands\DescribeCommandTests.cs (1)
846
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)
397
Properties
= new Dictionary<string, JsonNode?>
729
Properties
= new Dictionary<string, JsonNode?>
739
Properties
= new Dictionary<string, JsonNode?>
767
Properties
= new Dictionary<string, JsonNode?>
778
Properties
= new Dictionary<string, JsonNode?>
789
Properties
= new Dictionary<string, JsonNode?>
818
Properties
= new Dictionary<string, JsonNode?>
891
Properties
= new Dictionary<string, JsonNode?>
969
Properties
= new Dictionary<string, JsonNode?>
980
Properties
= new Dictionary<string, JsonNode?>
990
Properties
= new Dictionary<string, JsonNode?>
1000
Properties
= new Dictionary<string, JsonNode?>
1058
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(
176
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)
501
if (snapshot.
Properties
.TryGetValue(KnownProperties.Resource.Source, out var explicitSourceNode) &&
537
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)
31
var pid = Assert.IsAssignableFrom<JsonValue>(snapshot.
Properties
["executable.pid"]);