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