C# Class cmdR.CmdR

Afficher le fichier Open project: theouteredge/cmdR Class Usage Examples

Méthodes publiques

Méthode Description
CmdR ( IParseCommands parser = null, IRouteCommands routing = null, IParseRoutes routeParser = null, ICmdRConsole console = null, ICmdRState state = null, string exitcodes = null, string cmdPrompt = "> " ) : System
CmdR ( string cmdPrompt = "> ", string exitcodes = null ) : System
ExecuteCommand ( string command ) : void
ExecuteCommands ( List commands ) : void
RegisterRoute ( string route, string>.Action action, string description = null ) : void
Run ( string args ) : void

Private Methods

Méthode Description
Init ( IParseCommands parser, IRouteCommands routing, IParseRoutes routeParser, ICmdRConsole console, ICmdRState state, string exitcodes = null, string cmdPrompt = "> " ) : void

Method Details

CmdR() public méthode

public CmdR ( IParseCommands parser = null, IRouteCommands routing = null, IParseRoutes routeParser = null, ICmdRConsole console = null, ICmdRState state = null, string exitcodes = null, string cmdPrompt = "> " ) : System
parser IParseCommands
routing IRouteCommands
routeParser IParseRoutes
console ICmdRConsole
state ICmdRState
exitcodes string
cmdPrompt string
Résultat System

CmdR() public méthode

public CmdR ( string cmdPrompt = "> ", string exitcodes = null ) : System
cmdPrompt string
exitcodes string
Résultat System

ExecuteCommand() public méthode

public ExecuteCommand ( string command ) : void
command string
Résultat void

ExecuteCommands() public méthode

public ExecuteCommands ( List commands ) : void
commands List
Résultat void

RegisterRoute() public méthode

public RegisterRoute ( string route, string>.Action action, string description = null ) : void
route string
action string>.Action
description string
Résultat void

Run() public méthode

public Run ( string args ) : void
args string
Résultat void