C# Class Coinium.Core.Commands.CommandGroup

ファイルを表示 Open project: Ziftr/CoiniumServ

Public Methods

Method Description
GetHelp ( string command ) : string
Handle ( string parameters ) : string
Register ( CommandGroupAttribute attributes ) : void

Protected Methods

Method Description
GetDefaultSubcommand ( ) : CommandAttribute
GetSubcommand ( string name ) : CommandAttribute

Private Methods

Method Description
Fallback ( string @params = null ) : string
RegisterCommands ( ) : void
RegisterDefaultCommand ( ) : void

Method Details

GetDefaultSubcommand() protected method

protected GetDefaultSubcommand ( ) : CommandAttribute
return CommandAttribute

GetHelp() public method

public GetHelp ( string command ) : string
command string
return string

GetSubcommand() protected method

protected GetSubcommand ( string name ) : CommandAttribute
name string
return CommandAttribute

Handle() public method

public Handle ( string parameters ) : string
parameters string
return string

Register() public method

public Register ( CommandGroupAttribute attributes ) : void
attributes CommandGroupAttribute
return void