7 references to EnvironmentCallbackAnnotation
Aspire.Hosting (3)
Dashboard\DashboardEventHandlers.cs (1)
344dashboardResource.Annotations.Add(new EnvironmentCallbackAnnotation(ConfigureEnvironmentVariables));
OtlpConfigurationExtensions.cs (1)
91resource.Annotations.Add(new EnvironmentCallbackAnnotation(async context =>
ResourceBuilderExtensions.cs (1)
389return builder.WithAnnotation(new EnvironmentCallbackAnnotation(callback));
Aspire.Hosting.Docker (1)
DockerComposeEnvironmentResource.cs (1)
400resourceWithEnv.Annotations.Add(new EnvironmentCallbackAnnotation(context =>
Aspire.Hosting.Dotnet (2)
DotnetProjectBuildCoordinator.cs (2)
750var annotation = new EnvironmentCallbackAnnotation(sharedBuildEnvironment.ApplyBuildEnvironmentAsync); 762var annotation = new EnvironmentCallbackAnnotation(sharedBuildEnvironment.EnsureEvaluatedAsync);
Aspire.Hosting.Kubernetes (1)
KubernetesEnvironmentResource.cs (1)
564resourceWithEnv.Annotations.Add(new EnvironmentCallbackAnnotation(context =>