28 writes to Properties
Aspire.Cli.Tests (28)
Backchannel\ResourceSnapshotMapperTests.cs (1)
342Properties = new Dictionary<string, JsonNode?>
Commands\DescribeCommandTests.cs (1)
736Properties = new Dictionary<string, JsonNode?>
Mcp\ExcludeFromMcpTests.cs (10)
32Properties = [] 44Properties = new Dictionary<string, JsonNode?> 59Properties = new Dictionary<string, JsonNode?> 74Properties = new Dictionary<string, JsonNode?> 89Properties = new Dictionary<string, JsonNode?> 129Properties = new Dictionary<string, JsonNode?> 171Properties = new Dictionary<string, JsonNode?> 217Properties = new Dictionary<string, JsonNode?> 289Properties = new Dictionary<string, JsonNode?> 483Properties = new Dictionary<string, JsonNode?>
Mcp\ListResourcesToolTests.cs (13)
397Properties = new Dictionary<string, JsonNode?> 729Properties = new Dictionary<string, JsonNode?> 739Properties = new Dictionary<string, JsonNode?> 767Properties = new Dictionary<string, JsonNode?> 778Properties = new Dictionary<string, JsonNode?> 789Properties = new Dictionary<string, JsonNode?> 818Properties = new Dictionary<string, JsonNode?> 891Properties = new Dictionary<string, JsonNode?> 969Properties = new Dictionary<string, JsonNode?> 980Properties = new Dictionary<string, JsonNode?> 990Properties = new Dictionary<string, JsonNode?> 1000Properties = new Dictionary<string, JsonNode?> 1058Properties = new Dictionary<string, JsonNode?>
Mcp\WaitForResourcesToolTests.cs (3)
106Properties = 264Properties = 375Properties =
7 references to Properties
aspire (6)
Backchannel\ResourceSnapshotMapper.cs (3)
87var properties = snapshot.Properties.OrderBy(p => p.Key).ToDistinctDictionary( 134var stringProperties = snapshot.Properties.OrderBy(p => p.Key).ToDistinctDictionary( 176snapshot.Properties.TryGetValue(KnownProperties.Resource.WaitingFor, out var waitingForProperty) &&
Mcp\Tools\ListResourcesTool.cs (2)
501if (snapshot.Properties.TryGetValue(KnownProperties.Resource.Source, out var explicitSourceNode) && 537if (snapshot.Properties.TryGetValue(propertyName, out var value) &&
Mcp\Tools\McpToolHelpers.cs (1)
372if (snapshot.Properties.TryGetValue(KnownProperties.Resource.ExcludeFromMcp, out var value) && value is not null)
Aspire.Cli.Tests (1)
Backchannel\ResourceSnapshotMapperTests.cs (1)
30var pid = Assert.IsAssignableFrom<JsonValue>(snapshot.Properties["executable.pid"]);