Class CommandHelp
Prints out help information for a CommandPalette
Inheritance
System.Object
CommandHelp
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Petabridge.Cmd
Assembly: cs.temp.dll.dll
Syntax
public sealed class CommandHelp
Constructors
CommandHelp(CommandPalette)
Declaration
public CommandHelp(CommandPalette palette)
Parameters
Type | Name | Description |
---|---|---|
CommandPalette | palette |
Properties
Palette
The palette for this CommandHelp
Declaration
public CommandPalette Palette { get; }
Property Value
Type | Description |
---|---|
CommandPalette |
Methods
GetHelp(HelpCommand)
Declaration
public CommandResponse GetHelp(HelpCommand command)
Parameters
Type | Name | Description |
---|---|---|
HelpCommand | command |
Returns
Type | Description |
---|---|
CommandResponse |
GlobalHelp(Dictionary<String, CommandHelp>)
Declaration
public static CommandResponse GlobalHelp(Dictionary<string, CommandHelp> commands)
Parameters
Type | Name | Description |
---|---|---|
Dictionary<System.String, CommandHelp> | commands |
Returns
Type | Description |
---|---|
CommandResponse |