2 instantiations of ComputeEnvironmentAnnotation
Aspire.Hosting (2)
DistributedApplication.cs (1)
767computeResource.Annotations.Add(new ComputeEnvironmentAnnotation(environment));
ResourceBuilderExtensions.cs (1)
5172builder.WithAnnotation(new ComputeEnvironmentAnnotation(computeEnvironmentResource.Resource));
6 references to ComputeEnvironmentAnnotation
Aspire.Hosting (6)
ApplicationModel\ResourceExtensions.cs (4)
1051if (resource.TryGetLastAnnotation<ComputeEnvironmentAnnotation>(out var computeEnvironmentAnnotation)) 1066if (resource.TryGetLastAnnotation<ComputeEnvironmentAnnotation>(out var computeEnvironmentAnnotation))
DistributedApplication.cs (2)
734/// <see cref="ComputeEnvironmentAnnotation"/> pointing to that environment to every 751/// a consistent <see cref="ComputeEnvironmentAnnotation"/> on every compute resource that has