RemoteCommandGraph
A description of commands exposed by an application.
- Kind:
Class - Namespace: Repl.Remote
- Assembly:
Repl.Remote - Source: src/Repl.Remote/RemoteCommandGraph.cs
Signature
Section titled “Signature”public sealed record RemoteCommandGraph : IEquatable<RemoteCommandGraph>Inheritance
Section titled “Inheritance”Implements
Section titled “Implements”IEquatable<RemoteCommandGraph>
Constructors
Section titled “Constructors”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)Parameters
Section titled “Parameters”Name(string): Application name.Commands(IReadOnlyList<RemoteCommand>): Discoverable commands.Contexts(IReadOnlyList<RemoteContext>): Contexts forming the command hierarchy.
Properties
Section titled “Properties”Commands
Section titled “Commands”Discoverable commands.
public IReadOnlyList<RemoteCommand> Commands { get; init; }Returns
Section titled “Returns”IReadOnlyList<RemoteCommand>
Contexts
Section titled “Contexts”Contexts forming the command hierarchy.
public IReadOnlyList<RemoteContext> Contexts { get; init; }Returns
Section titled “Returns”IReadOnlyList<RemoteContext>
GlobalParameters
Section titled “GlobalParameters”Gets discoverable application global options for structured requests.
public IReadOnlyList<RemoteParameter> GlobalParameters { get; init; }Returns
Section titled “Returns”IReadOnlyList<RemoteParameter>
Application name.
public string Name { get; init; }