2 instantiations of ComputeEnvironmentAnnotation
Aspire.Hosting (2)
DistributedApplication.cs (1)
767
computeResource.Annotations.Add(new
ComputeEnvironmentAnnotation
(environment));
ResourceBuilderExtensions.cs (1)
5172
builder.WithAnnotation(new
ComputeEnvironmentAnnotation
(computeEnvironmentResource.Resource));
6 references to ComputeEnvironmentAnnotation
Aspire.Hosting (6)
ApplicationModel\ResourceExtensions.cs (4)
1051
if (resource.TryGetLastAnnotation<
ComputeEnvironmentAnnotation
>(out
var
computeEnvironmentAnnotation))
1066
if (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