Method | Description | |
---|---|---|
AddLongOption ( String LongOption ) : |
Create a new fluent interface to create command line parser options.
|
|
AddOption ( Char ShortOption, Action |
Add the given action for the given character, e.g. "o" for a "-o" command line option.
|
|
AddOption ( Char ShortOption, String LongOption, Action |
Add the given action for the given character and string, e.g. "o" and "output" for a "-o" and "--output" command line option.
|
|
AddOption ( String LongOption, Action |
Add the given action for the given string, e.g. "output" for a "--output" command line option.
|
|
AddOption ( ) : |
Create a new fluent interface to create command line parser options.
|
|
AddShortOption ( Char ShortOption ) : |
Create a new fluent interface to create command line parser options.
|
|
CommandLineParser ( ) : System |
Create a new command line parser.
|
|
Parse ( String Arguments ) : |
Parse the given array of arguments.
|
public AddLongOption ( String LongOption ) : |
||
LongOption | String | Add a long option. |
return |
public AddOption ( Char ShortOption, Action |
||
ShortOption | Char | A short option. |
Delegate | Action |
What to do with the value of the character option. |
Verification | String | An optional regular expression for verification. |
return |
public AddOption ( Char ShortOption, String LongOption, Action |
||
ShortOption | Char | A short option. |
LongOption | String | A long option. |
Delegate | Action |
What to do with the value of the short and/or long option. |
Verification | String | An optional regular expression for verification. |
return |
public AddOption ( String LongOption, Action |
||
LongOption | String | A long option. |
Delegate | Action |
What to do with the value of the string option. |
Verification | String | An optional regular expression for verification. |
return |
public AddOption ( ) : |
||
return |
public AddShortOption ( Char ShortOption ) : |
||
ShortOption | Char | Add a short option. |
return |
public Parse ( String Arguments ) : |
||
Arguments | String | An array of arguments. |
return |