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