Class CommandPalette
The range of commands supported by a given module.
Inheritance
System.Object
CommandPalette
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Petabridge.Cmd
Assembly: cs.temp.dll.dll
Syntax
public sealed class CommandPalette
Constructors
CommandPalette(String, IEnumerable<CommandDefinition>)
Declaration
public CommandPalette(string moduleName, IEnumerable<CommandDefinition> commands)
Parameters
Type | Name | Description |
---|---|---|
System.String | moduleName | |
IEnumerable<CommandDefinition> | commands |
Properties
Commands
Declaration
public IReadOnlyDictionary<string, CommandDefinition> Commands { get; }
Property Value
Type | Description |
---|---|
IReadOnlyDictionary<System.String, CommandDefinition> |
ModuleName
Declaration
public string ModuleName { 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 |
Overrides
System.Object.Equals(System.Object)
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
System.Object.GetHashCode()