Skip to content
Docs Try Aspire
Docs Try

EnvironmentCallbackContext

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

Properties

property environment EnvironmentEditor get
Gets the editor used to set environment variables in polyglot callbacks.
property executionContext DistributedApplicationExecutionContext get
Gets the execution context associated with this invocation of the AppHost.
property log LogFacade get
Gets the logger facade used by polyglot callbacks.
property resource IResource get
The resource associated with this callback context.