C# Class Ntreev.Library.Commands.CommandContextBase

Afficher le fichier Open project: NtreevSoft/CommandLineParser Class Usage Examples

Méthodes publiques

Méthode Description
Execute ( string commandLine ) : void
IsCommandVisible ( ICommand command ) : bool

Méthodes protégées

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

Private Methods

Méthode Description
Execute ( string args ) : bool

Method Details

CommandContextBase() protected méthode

protected CommandContextBase ( IEnumerable commands ) : System
commands IEnumerable
Résultat System

CreateInstance() protected méthode

protected CreateInstance ( ICommand command ) : CommandLineParser
command ICommand
Résultat CommandLineParser

Execute() public méthode

public Execute ( string commandLine ) : void
commandLine string
Résultat void

IsCommandVisible() public méthode

public IsCommandVisible ( ICommand command ) : bool
command ICommand
Résultat bool

OnExecute() protected méthode

protected OnExecute ( ICommand command, string arguments ) : bool
command ICommand
arguments string
Résultat bool