EnvironmentCallbackContext
Class net10.0
Represents a callback context for environment variables associated with a publisher.
namespace Aspire.Hosting.ApplicationModel;
public class EnvironmentCallbackContext{ // ...} 7 members
Constructors2
Section titled ConstructorsEnvironmentCallbackContext(DistributedApplicationExecutionContext, Dictionary<string, object>, CancellationToken) Represents a callback context for environment variables associated with a publisher.
EnvironmentCallbackContext(DistributedApplicationExecutionContext, IResource, Dictionary<string, object>, CancellationToken) Initializes a new instance of the
EnvironmentCallbackContext class. Properties5
Section titled PropertiesCancellationTokengetCancellationToken Gets the CancellationToken associated with the callback context.
EnvironmentVariablesgetDictionary<string, object> Gets the environment variables associated with the callback context.
ExecutionContextget Gets the execution context associated with this invocation of the AppHost.
Loggerget; setILogger An optional logger to use for logging.
Resourceget The resource associated with this callback context.