HttpCommandResultContext Properties
ClassProperties8 members
Context passed to callback to configure
ExecuteCommandResult when using ResourceBuilderExtensions.WithHttpCommand or ResourceBuilderExtensions.WithHttpCommand . Gets the invocation arguments supplied by the client when the command is executed.
public InteractionInputCollection Arguments { get; init; }Remarks
The collection contains the arguments described by the command's Command with their submitted values populated. CLI positional arguments are mapped by declaration order. Dashboard, MCP, and other named-payload clients are mapped by Interaction.
The cancellation token.
public CancellationToken CancellationToken { get; init; } The endpoint the request is targeting.
public EndpointReference Endpoint { get; init; } The HTTP client that was used for the request.
public HttpClient HttpClient { get; init; } The name of the resource the command was configured on.
public string ResourceName { get; init; } The HTTP response message.
public HttpResponseMessage Response { get; init; } The service provider.
public IServiceProvider ServiceProvider { get; init; } The service provider.
public IServiceProvider Services { get; init; }