C# 클래스 cmdR.CmdR

파일 보기 프로젝트 열기: theouteredge/cmdR 1 사용 예제들

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
Init ( IParseCommands parser, IRouteCommands routing, IParseRoutes routeParser, ICmdRConsole console, ICmdRState state, string exitcodes = null, string cmdPrompt = "> " ) : void

메소드 상세

CmdR() 공개 메소드

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
리턴 System

CmdR() 공개 메소드

public CmdR ( string cmdPrompt = "> ", string exitcodes = null ) : System
cmdPrompt string
exitcodes string
리턴 System

ExecuteCommand() 공개 메소드

public ExecuteCommand ( string command ) : void
command string
리턴 void

ExecuteCommands() 공개 메소드

public ExecuteCommands ( List commands ) : void
commands List
리턴 void

RegisterRoute() 공개 메소드

public RegisterRoute ( string route, string>.Action action, string description = null ) : void
route string
action string>.Action
description string
리턴 void

Run() 공개 메소드

public Run ( string args ) : void
args string
리턴 void