58 writes to Properties
Aspire.Hosting (18)
ApplicationModel\CertificateAuthorityCollectionResourceExtensions.cs (1)
32Properties = [],
Aspire.Hosting.Azure (3)
Aspire.Hosting.Azure.AIFoundry (4)
Aspire.Hosting.DevTunnels (3)
Aspire.Hosting.GitHub.Models (2)
Aspire.Hosting.Maui (1)
Aspire.Hosting.OpenAI (4)
Aspire.Hosting.Tests (14)
ResourceNotificationTests.cs (6)
26Properties = [new("A", "B")],
114await notificationService.PublishUpdateAsync(resource, state => state with { Properties = state.Properties.Add(new("A", "value")) }).DefaultTimeout();
116await notificationService.PublishUpdateAsync(resource, state => state with { Properties = state.Properties.Add(new("B", "value")) }).DefaultTimeout();
167await notificationService.PublishUpdateAsync(resource1, state => state with { Properties = state.Properties.Add(new("A", "value")) }).DefaultTimeout();
169await notificationService.PublishUpdateAsync(resource2, state => state with { Properties = state.Properties.Add(new("B", "value")) }).DefaultTimeout();
171await notificationService.PublishUpdateAsync(resource1, "replica1", state => state with { Properties = state.Properties.Add(new("C", "value")) }).DefaultTimeout();
CustomResources.AppHost (4)
HealthChecksSandbox.AppHost (1)
Stress.AppHost (4)
68 references to Properties
Aspire.Hosting (15)
Aspire.Hosting.Azure (3)
Aspire.Hosting.Azure.AIFoundry (4)
Aspire.Hosting.Azure.Tests (1)
Aspire.Hosting.DevTunnels (1)
Aspire.Hosting.GitHub.Models (1)
Aspire.Hosting.MySql.Tests (2)
Aspire.Hosting.OpenAI (2)
Aspire.Hosting.PostgreSQL.Tests (2)
Aspire.Hosting.Tests (35)
ResourceNotificationTests.cs (11)
37Assert.Collection(state.Properties, c =>
114await notificationService.PublishUpdateAsync(resource, state => state with { Properties = state.Properties.Add(new("A", "value")) }).DefaultTimeout();
116await notificationService.PublishUpdateAsync(resource, state => state with { Properties = state.Properties.Add(new("B", "value")) }).DefaultTimeout();
126Assert.Equal("value", c.Snapshot.Properties.Single(p => p.Name == "A").Value);
134Assert.Equal("value", c.Snapshot.Properties.Single(p => p.Name == "B").Value);
167await notificationService.PublishUpdateAsync(resource1, state => state with { Properties = state.Properties.Add(new("A", "value")) }).DefaultTimeout();
169await notificationService.PublishUpdateAsync(resource2, state => state with { Properties = state.Properties.Add(new("B", "value")) }).DefaultTimeout();
171await notificationService.PublishUpdateAsync(resource1, "replica1", state => state with { Properties = state.Properties.Add(new("C", "value")) }).DefaultTimeout();
181Assert.Equal("value", c.Snapshot.Properties.Single(p => p.Name == "A").Value);
188Assert.Equal("value", c.Snapshot.Properties.Single(p => p.Name == "B").Value);
195Assert.Equal("value", c.Snapshot.Properties.Single(p => p.Name == "C").Value);
CustomResources.AppHost (1)
Stress.AppHost (1)