C# 클래스 Microsoft.Iot.IotCoreAppDeployment.CommandLineParser

파일 보기 프로젝트 열기: ms-iot/iot-utilities 1 사용 예제들

공개 메소드들

메소드 설명
AddHelpArgument ( string argNames, string helpMsg ) : void
AddOptionalArgumentWithInput ( string argName, string helpMsg, string>.Action handler ) : void
AddOptionalArgumentWithoutInput ( string argName, string helpMsg, string>.Action handler ) : void
AddRequiredArgumentWithInput ( string argName, string helpMsg, string>.Action handler ) : void
CommandLineParser ( DeploymentWorker worker ) : System
HandleCommandLineArgs ( string args ) : bool

비공개 메소드들

메소드 설명
AddArgument ( string argNames, string helpMsg, bool consumesNextArg, bool required, bool isHelp, string>.Action handler ) : void
OutputHelpMessage ( ) : void
OutputHelpMessage ( ArgumentHelper option, bool required, bool input ) : void

메소드 상세

AddHelpArgument() 공개 메소드

public AddHelpArgument ( string argNames, string helpMsg ) : void
argNames string
helpMsg string
리턴 void

AddOptionalArgumentWithInput() 공개 메소드

public AddOptionalArgumentWithInput ( string argName, string helpMsg, string>.Action handler ) : void
argName string
helpMsg string
handler string>.Action
리턴 void

AddOptionalArgumentWithoutInput() 공개 메소드

public AddOptionalArgumentWithoutInput ( string argName, string helpMsg, string>.Action handler ) : void
argName string
helpMsg string
handler string>.Action
리턴 void

AddRequiredArgumentWithInput() 공개 메소드

public AddRequiredArgumentWithInput ( string argName, string helpMsg, string>.Action handler ) : void
argName string
helpMsg string
handler string>.Action
리턴 void

CommandLineParser() 공개 메소드

public CommandLineParser ( DeploymentWorker worker ) : System
worker DeploymentWorker
리턴 System

HandleCommandLineArgs() 공개 메소드

public HandleCommandLineArgs ( string args ) : bool
args string
리턴 bool