Method | Description | |
---|---|---|
CommandLineParser ( |
Initializes a new instance of the CommandLineParser class using possible arguments deducted from the specific Type.
|
|
Parse ( string args, object destination ) : void |
Parses an argument list.
|
Method | Description | |
---|---|---|
GetCommandLineAttribute ( |
Returns the CommandLineArgumentAttribute that's applied on the specified property.
|
|
IsDelimiter ( char c, char delimiters ) : bool | ||
ParseArgumentList ( string args ) : void |
Parse the argument list using the
|
|
ParseArguments ( string sourceString, char delimiters ) : string[] |
Splits a string and removes any empty strings from the result. Same functionality as the public string[] Split(char[] separator, StringSplitOptions options) method in .Net 2.0. Replace with that call when 2.0 is standard.
|
|
ProcessResponseFile ( string file ) : void |
Read a response file and parse the arguments as usual.
|
public CommandLineParser ( |
||
argumentSpecification | The |
|
supportsResponseFile | bool | A |
return | System |
public Parse ( string args, object destination ) : void | ||
args | string | The arguments to parse. |
destination | object | The destination object on which properties will be set corresponding to the specified arguments. |
return | void |