7 instantiations of ResourcePropertySnapshot
Aspire.Hosting (1)
src\Shared\CustomResourceSnapshotExtensions.cs (1)
31return [.. properties, new ResourcePropertySnapshot(name, value)];
Aspire.Hosting.Azure (1)
src\Shared\CustomResourceSnapshotExtensions.cs (1)
31return [.. properties, new ResourcePropertySnapshot(name, value)];
Aspire.Hosting.Tests (5)
ResourceNotificationTests.cs (5)
71await notificationService.PublishUpdateAsync(resource, state => state with { Properties = state.Properties.Add(new("A", "value")) }).DefaultTimeout(); 73await notificationService.PublishUpdateAsync(resource, state => state with { Properties = state.Properties.Add(new("B", "value")) }).DefaultTimeout(); 124await notificationService.PublishUpdateAsync(resource1, state => state with { Properties = state.Properties.Add(new("A", "value")) }).DefaultTimeout(); 126await notificationService.PublishUpdateAsync(resource2, state => state with { Properties = state.Properties.Add(new("B", "value")) }).DefaultTimeout(); 128await notificationService.PublishUpdateAsync(resource1, "replica1", state => state with { Properties = state.Properties.Add(new("C", "value")) }).DefaultTimeout();
8 references to ResourcePropertySnapshot
Aspire.Hosting (3)
src\Shared\CustomResourceSnapshotExtensions.cs (3)
11internal static ImmutableArray<ResourcePropertySnapshot> SetResourceProperty(this ImmutableArray<ResourcePropertySnapshot> properties, string name, object value) 15var property = properties[i];
Aspire.Hosting.Azure (5)
Provisioning\Provisioners\BicepProvisioner.cs (2)
88ImmutableArray<ResourcePropertySnapshot> props = [ 338ImmutableArray<ResourcePropertySnapshot> properties = [
src\Shared\CustomResourceSnapshotExtensions.cs (3)
11internal static ImmutableArray<ResourcePropertySnapshot> SetResourceProperty(this ImmutableArray<ResourcePropertySnapshot> properties, string name, object value) 15var property = properties[i];