C# Class CK.StandardPlugins.CommandManager.CommandManager

Inheritance: IPlugin, ICommandManagerService
Datei anzeigen Open project: Invenietis/ck-certified

Private Properties

Property Type Description
DoSendCommand void
KeyboardActivated void
KeyboardDeactivated void
RegistersOnKeyboard void
SendKeyCommand void
UnRegistersOnKeyboard void

Public Methods

Method Description
SendCommand ( object sender, string command ) : void
SendCommands ( object sender, ICKReadOnlyList commands ) : void
Setup ( CK.Plugin.IPluginSetupInfo info ) : bool
Start ( ) : void
Stop ( ) : void
Teardown ( ) : void

Private Methods

Method Description
DoSendCommand ( object sender, string cmd ) : void
KeyboardActivated ( object sender, KeyboardEventArgs e ) : void

Called when the current keyboard changed.

KeyboardDeactivated ( object sender, KeyboardEventArgs e ) : void
RegistersOnKeyboard ( IKeyboard keyboard ) : void

Registers on the Keyboard given in parameters.

SendKeyCommand ( object sender, KeyInteractionEventArgs e ) : void

Redirects the command to the method which will process it.

UnRegistersOnKeyboard ( IKeyboard keyboard ) : void

Unregisters on the Keyboard given in parameters.

Method Details

SendCommand() public method

public SendCommand ( object sender, string command ) : void
sender object
command string
return void

SendCommands() public method

public SendCommands ( object sender, ICKReadOnlyList commands ) : void
sender object
commands ICKReadOnlyList
return void

Setup() public method

public Setup ( CK.Plugin.IPluginSetupInfo info ) : bool
info CK.Plugin.IPluginSetupInfo
return bool

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void

Teardown() public method

public Teardown ( ) : void
return void