Class CommandPaletteHandler
Used to register a CommandPalette with a given
Inheritance
System.Object
CommandPaletteHandler
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.Host
Assembly: cs.temp.dll.dll
Syntax
public abstract class CommandPaletteHandler
Constructors
CommandPaletteHandler(CommandPalette)
Declaration
protected CommandPaletteHandler(CommandPalette palette)
Parameters
Type | Name | Description |
---|---|---|
CommandPalette | palette |
Properties
HandlerProps
The
Declaration
public abstract Props HandlerProps { get; }
Property Value
Type | Description |
---|---|
Props |
Remarks
One instance of the HandlerProps actor will be created per-connection. The actor will be terminated when that connection is closed.
Palette
The set of defined commands handled by HandlerProps
Declaration
public CommandPalette Palette { get; }
Property Value
Type | Description |
---|---|
CommandPalette |
Methods
OnRegister(PetabridgeCmd)
Called when registered by the PetabridgeCmd plugin.
Declaration
public virtual void OnRegister(PetabridgeCmd plugin)
Parameters
Type | Name | Description |
---|---|---|
PetabridgeCmd | plugin |