Skip to content
DocsTry Aspire
DocsTry

EnvironmentCallbackContext

Handle
📦 Aspire.Hosting v13.4.0
interface EnvironmentCallbackContext {
readonly environment: EnvironmentEditor;
readonly executionContext: DistributedApplicationExecutionContext;
readonly log: LogFacade;
readonly resource: IResource;
}

Properties

propertyenvironmentEnvironmentEditorget
Gets the editor used to set environment variables in polyglot callbacks.
propertyexecutionContextDistributedApplicationExecutionContextget
Gets the execution context associated with this invocation of the AppHost.
propertylogLogFacadeget
Gets the logger facade used by polyglot callbacks.
propertyresourceIResourceget
The resource associated with this callback context.