Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

ExecuteCommandContext

Handle
📦 Aspire.Hosting v17.0.0

Context for ResourceCommandAnnotation.ExecuteCommand.

type ExecuteCommandContext interface{}

Properties

propertyArgumentsInteractionInputCollectionget
Gets the invocation arguments supplied by the client when the command is executed.
Arguments() InteractionInputCollection
propertyCancellationToken*CancellationTokenget
The cancellation token.
CancellationToken() (*CancellationToken, error)
propertyLoggerLoggerget
The logger for the resource.
Logger() Logger
propertyResourceNamestringget
The resource name.
ResourceName() (string, error)
propertyServicesServiceProviderget
The service provider.
Services() ServiceProvider