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)
27Properties = [new("A", "B")],
115await notificationService.PublishUpdateAsync(resource, state => state with { Properties = state.Properties.Add(new("A", "value")) }).DefaultTimeout();
117await notificationService.PublishUpdateAsync(resource, state => state with { Properties = state.Properties.Add(new("B", "value")) }).DefaultTimeout();
168await notificationService.PublishUpdateAsync(resource1, state => state with { Properties = state.Properties.Add(new("A", "value")) }).DefaultTimeout();
170await notificationService.PublishUpdateAsync(resource2, state => state with { Properties = state.Properties.Add(new("B", "value")) }).DefaultTimeout();
172await 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)
38Assert.Collection(state.Properties, c =>
115await notificationService.PublishUpdateAsync(resource, state => state with { Properties = state.Properties.Add(new("A", "value")) }).DefaultTimeout();
117await notificationService.PublishUpdateAsync(resource, state => state with { Properties = state.Properties.Add(new("B", "value")) }).DefaultTimeout();
127Assert.Equal("value", c.Snapshot.Properties.Single(p => p.Name == "A").Value);
135Assert.Equal("value", c.Snapshot.Properties.Single(p => p.Name == "B").Value);
168await notificationService.PublishUpdateAsync(resource1, state => state with { Properties = state.Properties.Add(new("A", "value")) }).DefaultTimeout();
170await notificationService.PublishUpdateAsync(resource2, state => state with { Properties = state.Properties.Add(new("B", "value")) }).DefaultTimeout();
172await notificationService.PublishUpdateAsync(resource1, "replica1", state => state with { Properties = state.Properties.Add(new("C", "value")) }).DefaultTimeout();
182Assert.Equal("value", c.Snapshot.Properties.Single(p => p.Name == "A").Value);
189Assert.Equal("value", c.Snapshot.Properties.Single(p => p.Name == "B").Value);
196Assert.Equal("value", c.Snapshot.Properties.Single(p => p.Name == "C").Value);
CustomResources.AppHost (1)
Stress.AppHost (1)