C# Class Ntreev.Library.Commands.CommandContextBase

ファイルを表示 Open project: NtreevSoft/CommandLineParser Class Usage Examples

Public Methods

Method Description
Execute ( string commandLine ) : void
IsCommandVisible ( ICommand command ) : bool

Protected Methods

Method Description
CommandContextBase ( IEnumerable commands ) : System
CreateInstance ( ICommand command ) : CommandLineParser
OnExecute ( ICommand command, string arguments ) : bool

Private Methods

Method Description
Execute ( string args ) : bool

Method Details

CommandContextBase() protected method

protected CommandContextBase ( IEnumerable commands ) : System
commands IEnumerable
return System

CreateInstance() protected method

protected CreateInstance ( ICommand command ) : CommandLineParser
command ICommand
return CommandLineParser

Execute() public method

public Execute ( string commandLine ) : void
commandLine string
return void

IsCommandVisible() public method

public IsCommandVisible ( ICommand command ) : bool
command ICommand
return bool

OnExecute() protected method

protected OnExecute ( ICommand command, string arguments ) : bool
command ICommand
arguments string
return bool