C# 클래스 Ntreev.Library.Commands.CommandLineParser

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

Private Properties

프로퍼티 타입 설명
Invoke void

공개 메소드들

메소드 설명
CommandLineParser ( object instance ) : System
CommandLineParser ( string name, object instance ) : System
Invoke ( string commandLine ) : bool
Parse ( string commandLine ) : bool
PrintMethodUsage ( ) : void
PrintMethodUsage ( string methodName ) : void
PrintSummary ( ) : void
PrintUsage ( ) : void
PrintVersion ( ) : void
Split ( string commandLine ) : string[]

보호된 메소드들

메소드 설명
CreateMethodUsagePrinter ( string name, object instance ) : MethodUsagePrinter
CreateSwitchUsagePrinter ( string name, object instance ) : SwitchUsagePrinter
IsMethodVisible ( MethodDescriptor descriptor ) : bool
IsSwitchVisible ( SwitchDescriptor descriptor ) : bool

비공개 메소드들

메소드 설명
Invoke ( object instance, string arguments, MethodInfo methodInfo, IEnumerable switches ) : void

메소드 상세

CommandLineParser() 공개 메소드

public CommandLineParser ( object instance ) : System
instance object
리턴 System

CommandLineParser() 공개 메소드

public CommandLineParser ( string name, object instance ) : System
name string
instance object
리턴 System

CreateMethodUsagePrinter() 보호된 메소드

protected CreateMethodUsagePrinter ( string name, object instance ) : MethodUsagePrinter
name string
instance object
리턴 MethodUsagePrinter

CreateSwitchUsagePrinter() 보호된 메소드

protected CreateSwitchUsagePrinter ( string name, object instance ) : SwitchUsagePrinter
name string
instance object
리턴 SwitchUsagePrinter

Invoke() 공개 메소드

public Invoke ( string commandLine ) : bool
commandLine string
리턴 bool

IsMethodVisible() 보호된 메소드

protected IsMethodVisible ( MethodDescriptor descriptor ) : bool
descriptor MethodDescriptor
리턴 bool

IsSwitchVisible() 보호된 메소드

protected IsSwitchVisible ( SwitchDescriptor descriptor ) : bool
descriptor SwitchDescriptor
리턴 bool

Parse() 공개 메소드

public Parse ( string commandLine ) : bool
commandLine string
리턴 bool

PrintMethodUsage() 공개 메소드

public PrintMethodUsage ( ) : void
리턴 void

PrintMethodUsage() 공개 메소드

public PrintMethodUsage ( string methodName ) : void
methodName string
리턴 void

PrintSummary() 공개 메소드

public PrintSummary ( ) : void
리턴 void

PrintUsage() 공개 메소드

public PrintUsage ( ) : void
리턴 void

PrintVersion() 공개 메소드

public PrintVersion ( ) : void
리턴 void

Split() 공개 정적인 메소드

public static Split ( string commandLine ) : string[]
commandLine string
리턴 string[]