C# Class Commander.Core.Command.CommandManager

Inheritance: ICommandManager
显示文件 Open project: SneWs/Commander Class Usage Examples

Public Methods

Method Description
CommandManager ( ICommandAccess commandAccess ) : System
Execute ( string command ) : bool
RegisterHandler ( ICommand executor ) : void

Private Methods

Method Description
FinalCall ( ICommandAccess commandAccess, string command ) : bool
HandleChangeDriveCommand ( string command, ICommandAccess commandAccess ) : bool

Method Details

CommandManager() public method

public CommandManager ( ICommandAccess commandAccess ) : System
commandAccess ICommandAccess
return System

Execute() public method

public Execute ( string command ) : bool
command string
return bool

RegisterHandler() public method

public RegisterHandler ( ICommand executor ) : void
executor ICommand
return void