C# Class Deveel.Configuration.Parser

Inheritance: ICommandLineParser
Afficher le fichier Open project: deveel/deveel-cli Class Usage Examples

Méthodes publiques

Méthode Description
Create ( ParseStyle parseStyle ) : Parser
Parse ( Options options, string arguments, string>.IEnumerable properties, bool stopAtNonOption ) : ICommandLine

Méthodes protégées

Méthode Description
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

Private Methods

Méthode Description
AssertNotSelected ( IOptionGroup group, IOption option ) : void
ProcessArguments ( IOptions options, OptionValue opt, string tokens, int &index ) : void
SafeGetOptionValue ( IOption option ) : OptionValue

Method Details

CheckRequiredOptions() protected méthode

protected CheckRequiredOptions ( Options options ) : void
options Options
Résultat void

Create() public static méthode

public static Create ( ParseStyle parseStyle ) : Parser
parseStyle ParseStyle
Résultat Parser

Flatten() protected abstract méthode

protected abstract Flatten ( Options options, string arguments, bool stopAtNonOption ) : String[]
options Options
arguments string
stopAtNonOption bool
Résultat String[]

Parse() public méthode

public Parse ( Options options, string arguments, string>.IEnumerable properties, bool stopAtNonOption ) : ICommandLine
options Options
arguments string
properties string>.IEnumerable
stopAtNonOption bool
Résultat ICommandLine

Parser() protected méthode

protected Parser ( ) : System
Résultat System

ProcessOption() protected méthode

protected ProcessOption ( IOptions options, string arg, string tokens, int &index ) : void
options IOptions
arg string
tokens string
index int
Résultat void

ProcessProperties() protected méthode

protected ProcessProperties ( IOptions options, string>.IEnumerable properties ) : void
options IOptions
properties string>.IEnumerable
Résultat void