1 write to Properties
Aspire.Hosting (1)
Backchannel\AuxiliaryBackchannelRpcTarget.cs (1)
1228Properties = properties,
17 references to Properties
Aspire.Hosting.Tests (17)
Backchannel\AuxiliaryBackchannelRpcTargetTests.cs (17)
329Assert.True(snapshot.Properties.TryGetValue(CustomResourceKnownProperties.Source, out var normalValue)); 332Assert.True(snapshot.Properties.TryGetValue("ConnectionString", out var sensitiveValue)); 1325Assert.Equal("42", Assert.IsAssignableFrom<JsonValue>(snapshot.Properties["number"]).GetValue<string>()); 1326Assert.Equal(bool.TrueString, Assert.IsAssignableFrom<JsonValue>(snapshot.Properties["flag"]).GetValue<string>()); 1327Assert.Equal("one,two", Assert.IsAssignableFrom<JsonValue>(snapshot.Properties["list"]).GetValue<string>()); 1328Assert.Null(snapshot.Properties["ConnectionString"]); 1372Assert.Equal(42, Assert.IsAssignableFrom<JsonValue>(snapshot.Properties["number"]).GetValue<int>()); 1373Assert.True(Assert.IsAssignableFrom<JsonValue>(snapshot.Properties["flag"]).GetValue<bool>()); 1374var list = Assert.IsAssignableFrom<JsonArray>(snapshot.Properties["list"]); 1379var nameValueObject = Assert.IsAssignableFrom<JsonObject>(snapshot.Properties["object"]); 1382Assert.Null(snapshot.Properties["ConnectionString"]); 1417Assert.Equal("true", Assert.IsAssignableFrom<JsonValue>(snapshot.Properties["terminal.enabled"]).GetValue<string>()); 1418Assert.Equal("0", Assert.IsAssignableFrom<JsonValue>(snapshot.Properties["terminal.replicaIndex"]).GetValue<string>()); 1419Assert.Equal("1", Assert.IsAssignableFrom<JsonValue>(snapshot.Properties["terminal.replicaCount"]).GetValue<string>()); 1422Assert.True(snapshot.Properties.ContainsKey("terminal.consumerUdsPath")); 1423Assert.Null(snapshot.Properties["terminal.consumerUdsPath"]); 1453Assert.DoesNotContain(snapshot.Properties.Keys, k => k.StartsWith("terminal.", StringComparison.Ordinal));