C# Class FileSplitter.CommandLine

Commandline parser
Show file Open project: dubasdey/File-Splitter

Public Methods

Method 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 method

Get params of key
public getParamsOfKey ( string key ) : List
key string
return List

getParamsOfKeyAsString() public method

Get all parameters of key as string with spaces
public getParamsOfKeyAsString ( string key ) : String
key string
return String

hasKey() public method

Check for key
public hasKey ( string key ) : System.Boolean
key string
return System.Boolean

hasParams() public method

Detect if key exists with parameters
public hasParams ( string key ) : System.Boolean
key string
return System.Boolean

parseArguments() public method

Parse arguments
public parseArguments ( string args ) : void
args string Command line arguments
return void

printUsageHelp() public method

Prints usage help
public printUsageHelp ( ) : void
return void