Show / Hide Table of Contents

Class CommandPalette

The range of commands supported by a given module.

Inheritance
object
CommandPalette
Implements
INoSerializationVerificationNeeded
Inherited Members
object.Equals(object, object)
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Petabridge.Cmd
Assembly: Petabridge.Cmd.Common.dll
Syntax
public sealed class CommandPalette : INoSerializationVerificationNeeded

Constructors

CommandPalette(string, IEnumerable<CommandDefinition>)

Declaration
public CommandPalette(string moduleName, IEnumerable<CommandDefinition> commands)
Parameters
Type Name Description
string moduleName
IEnumerable<CommandDefinition> commands

Properties

Commands

Declaration
public IReadOnlyDictionary<string, CommandDefinition> Commands { get; }
Property Value
Type Description
IReadOnlyDictionary<string, CommandDefinition>

ModuleName

Declaration
public string ModuleName { get; }
Property Value
Type Description
string

Methods

Equals(object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
object obj
Returns
Type Description
bool
Overrides
object.Equals(object)

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
int
Overrides
object.GetHashCode()

Implements

INoSerializationVerificationNeeded
In this article
Back to top Generated by DocFX