Skip to content
DocsTry Aspire
DocsTry

EnvironmentCallbackAnnotation Properties

ClassProperties1 member
Represents an annotation that provides a callback to modify the environment variables of an application.
CallbackSection titled CallbackFunc<EnvironmentCallbackContext, Task>
Gets or sets the callback action to be executed when the environment is being built.
public Func<EnvironmentCallbackContext, Task> Callback { get; }