C# Class Tachycardia.Tools.ConsoleParser

显示文件 Open project: secred/Tachycardia Class Usage Examples

Private Properties

Property Type Description
ConsoleParser System
FillRow void
OnBackspace void
OnDownArrow void
OnEnter void
OnEscape void
OnFrame bool
OnInsert void
OnKey void
OnLeftArrow void
OnRightArrow void
OnTab void
OnUpArrow void
ParseInputKey void
ParseLine void
RegisterCommands void

Public Methods

Method Description
Init ( ) : void
RegisterCommand ( string commandName, ICommand command ) : void
TryRegisterCommand ( string commandName, ICommand command ) : bool

Private Methods

Method Description
ConsoleParser ( ) : System
FillRow ( char c ) : void
OnBackspace ( ) : void
OnDownArrow ( ) : void
OnEnter ( ) : void
OnEscape ( ) : void
OnFrame ( Mogre e ) : bool
OnInsert ( ) : void
OnKey ( char key ) : void
OnLeftArrow ( ) : void
OnRightArrow ( ) : void
OnTab ( ) : void
OnUpArrow ( ) : void
ParseInputKey ( ) : void
ParseLine ( ) : void
RegisterCommands ( ) : void

Method Details

Init() public static method

public static Init ( ) : void
return void

RegisterCommand() public method

public RegisterCommand ( string commandName, ICommand command ) : void
commandName string
command ICommand
return void

TryRegisterCommand() public method

public TryRegisterCommand ( string commandName, ICommand command ) : bool
commandName string
command ICommand
return bool