Skip to content
DocsTry Aspire
DocsTry

ExecuteCommandContext

Handle
📦 Aspire.Hosting v13.5.3
interface ExecuteCommandContext {
readonly arguments: InteractionInputCollection;
readonly cancellationToken: cancellationToken;
readonly logger: ILogger;
readonly resourceName: string;
readonly services: IServiceProvider;
}

Properties

propertyargumentsInteractionInputCollectionget
Gets the invocation arguments supplied by the client when the command is executed.
propertycancellationTokencancellationTokenget
The cancellation token.
propertyloggerILoggerget
The logger for the resource.
propertyresourceNamestringget
The resource name.
propertyservicesIServiceProviderget
The service provider.