Class Command
A command to be sent to the server for processing
Inheritance
System.Object
Command
Assembly: cs.temp.dll.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
Type |
Name |
Description |
System.String |
module |
The module (or palette) that defines this command.
|
System.String |
name |
The command name itself.
|
IEnumerable<Tuple<System.String, System.String>> |
arguments |
The set of provided arguments.
|
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
Type |
Description |
IReadOnlyList<Tuple<System.String, System.String>> |
|
Module
The name of the command palette for this argument.
Declaration
public string Module { get; }
Property Value
Type |
Description |
System.String |
|
Name
The name of the command being executed.
Declaration
public string Name { get; }
Property Value
Type |
Description |
System.String |
|
Methods
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
ToString(Boolean)
Declaration
public string ToString(bool includeArgs)
Parameters
Type |
Name |
Description |
System.Boolean |
includeArgs |
|
Returns
Type |
Description |
System.String |
|