1 write to Properties
Aspire.Hosting (1)
Backchannel\AuxiliaryBackchannelRpcTarget.cs (1)
1204Properties = properties,
17 references to Properties
Aspire.Hosting.Tests (17)
Backchannel\AuxiliaryBackchannelRpcTargetTests.cs (17)
324Assert.True(snapshot.Properties.TryGetValue(CustomResourceKnownProperties.Source, out var normalValue)); 327Assert.True(snapshot.Properties.TryGetValue("ConnectionString", out var sensitiveValue)); 1278Assert.Equal("42", Assert.IsAssignableFrom<JsonValue>(snapshot.Properties["number"]).GetValue<string>()); 1279Assert.Equal(bool.TrueString, Assert.IsAssignableFrom<JsonValue>(snapshot.Properties["flag"]).GetValue<string>()); 1280Assert.Equal("one,two", Assert.IsAssignableFrom<JsonValue>(snapshot.Properties["list"]).GetValue<string>()); 1281Assert.Null(snapshot.Properties["ConnectionString"]); 1325Assert.Equal(42, Assert.IsAssignableFrom<JsonValue>(snapshot.Properties["number"]).GetValue<int>()); 1326Assert.True(Assert.IsAssignableFrom<JsonValue>(snapshot.Properties["flag"]).GetValue<bool>()); 1327var list = Assert.IsAssignableFrom<JsonArray>(snapshot.Properties["list"]); 1332var nameValueObject = Assert.IsAssignableFrom<JsonObject>(snapshot.Properties["object"]); 1335Assert.Null(snapshot.Properties["ConnectionString"]); 1370Assert.Equal("true", Assert.IsAssignableFrom<JsonValue>(snapshot.Properties["terminal.enabled"]).GetValue<string>()); 1371Assert.Equal("0", Assert.IsAssignableFrom<JsonValue>(snapshot.Properties["terminal.replicaIndex"]).GetValue<string>()); 1372Assert.Equal("1", Assert.IsAssignableFrom<JsonValue>(snapshot.Properties["terminal.replicaCount"]).GetValue<string>()); 1375Assert.True(snapshot.Properties.ContainsKey("terminal.consumerUdsPath")); 1376Assert.Null(snapshot.Properties["terminal.consumerUdsPath"]); 1406Assert.DoesNotContain(snapshot.Properties.Keys, k => k.StartsWith("terminal.", StringComparison.Ordinal));