8 instantiations of ResourcePropertySnapshot
Aspire.Hosting.AWS (3)
Provisioning\CloudFormationResourceProvisioner.cs (3)
40list.Add(new ResourcePropertySnapshot(CustomResourceKnownProperties.Source, stack.StackId)); 44list.Add(new("aws.cloudformation.template", templateFile)); 49list.Add(new ResourcePropertySnapshot("aws.cloudformation.output." + output.OutputKey, output.OutputValue));
Aspire.Hosting.Tests (5)
ResourceNotificationTests.cs (5)
70await notificationService.PublishUpdateAsync(resource, state => state with { Properties = state.Properties.Add(new("A", "value")) }); 72await notificationService.PublishUpdateAsync(resource, state => state with { Properties = state.Properties.Add(new("B", "value")) }); 121await notificationService.PublishUpdateAsync(resource1, state => state with { Properties = state.Properties.Add(new("A", "value")) }); 123await notificationService.PublishUpdateAsync(resource2, state => state with { Properties = state.Properties.Add(new("B", "value")) }); 125await notificationService.PublishUpdateAsync(resource1, "replica1", state => state with { Properties = state.Properties.Add(new("C", "value")) });
6 references to ResourcePropertySnapshot
Aspire.Hosting.AWS (4)
Provisioning\CloudFormationResourceProvisioner.cs (4)
22protected async Task PublishCloudFormationUpdatePropertiesAsync(T resource, ImmutableArray<ResourcePropertySnapshot>? properties = null, ImmutableArray<UrlSnapshot>? urls = default) 26properties = ImmutableArray.Create<ResourcePropertySnapshot>(); 36protected static ImmutableArray<ResourcePropertySnapshot> ConvertOutputToProperties(Stack stack, string? templateFile = null) 38var list = ImmutableArray.CreateBuilder<ResourcePropertySnapshot>();
Aspire.Hosting.Azure (2)
Provisioning\Provisioners\BicepProvisioner.cs (2)
88ImmutableArray<ResourcePropertySnapshot> props = [ 338ImmutableArray<ResourcePropertySnapshot> properties = [