C# Class FileSplitter.CommandLine

Commandline parser
Afficher le fichier Open project: dubasdey/File-Splitter

Méthodes publiques

Méthode Description
getParamsOfKey ( string key ) : List

Get params of key

getParamsOfKeyAsString ( string key ) : String

Get all parameters of key as string with spaces

hasKey ( string key ) : System.Boolean

Check for key

hasParams ( string key ) : System.Boolean

Detect if key exists with parameters

parseArguments ( string args ) : void

Parse arguments

printUsageHelp ( ) : void

Prints usage help

Method Details

getParamsOfKey() public méthode

Get params of key
public getParamsOfKey ( string key ) : List
key string
Résultat List

getParamsOfKeyAsString() public méthode

Get all parameters of key as string with spaces
public getParamsOfKeyAsString ( string key ) : String
key string
Résultat String

hasKey() public méthode

Check for key
public hasKey ( string key ) : System.Boolean
key string
Résultat System.Boolean

hasParams() public méthode

Detect if key exists with parameters
public hasParams ( string key ) : System.Boolean
key string
Résultat System.Boolean

parseArguments() public méthode

Parse arguments
public parseArguments ( string args ) : void
args string Command line arguments
Résultat void

printUsageHelp() public méthode

Prints usage help
public printUsageHelp ( ) : void
Résultat void