Skip to content

RemoteCommandGraph

A description of commands exposed by an application.

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

RemoteCommandGraph(string, IReadOnlyList<RemoteCommand>, IReadOnlyList<RemoteContext>)

Section titled “RemoteCommandGraph(string, IReadOnlyList<RemoteCommand>, IReadOnlyList<RemoteContext>)”

A description of commands exposed by an application.

public RemoteCommandGraph(string Name, IReadOnlyList<RemoteCommand> Commands, IReadOnlyList<RemoteContext> Contexts)
  • Name (string): Application name.
  • Commands (IReadOnlyList<RemoteCommand>): Discoverable commands.
  • Contexts (IReadOnlyList<RemoteContext>): Contexts forming the command hierarchy.

Discoverable commands.

public IReadOnlyList<RemoteCommand> Commands { get; init; }

IReadOnlyList<RemoteCommand>

Contexts forming the command hierarchy.

public IReadOnlyList<RemoteContext> Contexts { get; init; }

IReadOnlyList<RemoteContext>

Gets discoverable application global options for structured requests.

public IReadOnlyList<RemoteParameter> GlobalParameters { get; init; }

IReadOnlyList<RemoteParameter>

Application name.

public string Name { get; init; }

string