Method | Description | |
---|---|---|
CommandLineParser ( ) : System | ||
Parse ( ) : void |
Override to provide parse switches\parameter into object structure
|
Method | Description | |
---|---|---|
ParseParameterSwitch ( string parm ) : bool | ||
ParseStringParameterSwitch ( string parm, string defaultValue = null ) : string |
Parses a string Parameter switch in the format of: -p"c:\temp files\somefile.txt" -pc:\somefile.txt Note no spaces are allowed between swich and value.
|
protected ParseParameterSwitch ( string parm ) : bool | ||
parm | string | |
return | bool |
protected ParseStringParameterSwitch ( string parm, string defaultValue = null ) : string | ||
parm | string | parameter switch key |
defaultValue | string | value returned if switch is not found |
return | string |