Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

EnvironmentCallbackContext

Handle
📦 Aspire.Hosting v17.0.0

Represents a callback context for environment variables associated with a publisher.

type EnvironmentCallbackContext interface{}

Properties

propertyEnvironmentEnvironmentEditorget
Gets the editor used to set environment variables in polyglot callbacks.
Environment() EnvironmentEditor
propertyExecutionContextDistributedApplicationExecutionContextget
Gets the execution context associated with this invocation of the AppHost.
ExecutionContext() DistributedApplicationExecutionContext
propertyLogLogFacadeget
Gets the logger facade used by polyglot callbacks.
Log() LogFacade
propertyResourceResourceget
The resource associated with this callback context.
Resource() Resource