C# 클래스 Deveel.Configuration.Parser

상속: ICommandLineParser
파일 보기 프로젝트 열기: deveel/deveel-cli 1 사용 예제들

공개 메소드들

메소드 설명
Create ( ParseStyle parseStyle ) : Parser
Parse ( Options options, string arguments, string>.IEnumerable properties, bool stopAtNonOption ) : ICommandLine

보호된 메소드들

메소드 설명
CheckRequiredOptions ( Options options ) : void
Flatten ( Options options, string arguments, bool stopAtNonOption ) : String[]
Parser ( ) : System
ProcessOption ( IOptions options, string arg, string tokens, int &index ) : void
ProcessProperties ( IOptions options, string>.IEnumerable properties ) : void

비공개 메소드들

메소드 설명
AssertNotSelected ( IOptionGroup group, IOption option ) : void
ProcessArguments ( IOptions options, OptionValue opt, string tokens, int &index ) : void
SafeGetOptionValue ( IOption option ) : OptionValue

메소드 상세

CheckRequiredOptions() 보호된 메소드

protected CheckRequiredOptions ( Options options ) : void
options Options
리턴 void

Create() 공개 정적인 메소드

public static Create ( ParseStyle parseStyle ) : Parser
parseStyle ParseStyle
리턴 Parser

Flatten() 보호된 추상적인 메소드

protected abstract Flatten ( Options options, string arguments, bool stopAtNonOption ) : String[]
options Options
arguments string
stopAtNonOption bool
리턴 String[]

Parse() 공개 메소드

public Parse ( Options options, string arguments, string>.IEnumerable properties, bool stopAtNonOption ) : ICommandLine
options Options
arguments string
properties string>.IEnumerable
stopAtNonOption bool
리턴 ICommandLine

Parser() 보호된 메소드

protected Parser ( ) : System
리턴 System

ProcessOption() 보호된 메소드

protected ProcessOption ( IOptions options, string arg, string tokens, int &index ) : void
options IOptions
arg string
tokens string
index int
리턴 void

ProcessProperties() 보호된 메소드

protected ProcessProperties ( IOptions options, string>.IEnumerable properties ) : void
options IOptions
properties string>.IEnumerable
리턴 void