Skip to content

RemoteInvocationRequest

A command submitted as tokens or as a canonical route with JSON values.

public sealed record RemoteInvocationRequest : IEquatable<RemoteInvocationRequest>
  • IEquatable<RemoteInvocationRequest>

Gets CLI tokens; mutually exclusive with Command.

public string[]? Arguments { get; init; }

string[]

Gets the registered route template for a structured invocation.

public string? Command { get; init; }

string

Gets global option values for a structured invocation.

public IReadOnlyDictionary<string, JsonElement>? GlobalValues { get; init; }

IReadOnlyDictionary<string, JsonElement>

Gets values keyed by canonical parameter name.

public IReadOnlyDictionary<string, JsonElement>? Values { get; init; }

IReadOnlyDictionary<string, JsonElement>