Class Command
A command to be sent to the server for processing
Assembly: Petabridge.Cmd.Common.dll
Syntax
public class Command : INoSerializationVerificationNeeded
Constructors
Command(string, string, IEnumerable<Tuple<string, string>>)
Creates a new instance of a command for processing.
Declaration
public Command(string module, string name, IEnumerable<Tuple<string, string>> arguments)
Parameters
Fields
Empty
Special case for unparseable commands
Declaration
public static readonly Command Empty
Field Value
Properties
Arguments
The set of arguments associated with this command.
Declaration
public IReadOnlyList<Tuple<string, string>> Arguments { get; }
Property Value
Module
The name of the command palette for this argument.
Declaration
public string Module { get; }
Property Value
Name
The name of the command being executed.
Declaration
public string Name { get; }
Property Value
Methods
Equals(object)
Declaration
public override bool Equals(object obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
ToString()
Declaration
public override string ToString()
Returns
Overrides
ToString(bool)
Declaration
public string ToString(bool includeArgs)
Parameters
| Type |
Name |
Description |
| bool |
includeArgs |
|
Returns
Implements