getopt.net
A port of getopt in pure C#.
|
Static Public Member Functions | |
static ? Option | FindOptionOrDefault (this Option[] list, string optName) |
Finds an option with the name optName More... | |
static ? Option | FindOptionOrDefault (this Option[] list, char optVal) |
Finds an option in the list list with the Option.Value optVal . More... | |
static ? string | ToShortOptString (this Option[] list) |
Creates a short opt string from an array of Option objects. More... | |
This class contains extension methods specific to getopt.net. If these extension methods help you in your program, you're free to use them too!
Definition at line 12 of file Extensions.cs.
|
static |
Finds an option in the list list with the Option.Value optVal .
list | The list of options to search. |
optVal | The value to search for. |
|
inlinestatic |
Finds an option with the name optName
list | The list of options to search. |
optName | The name of the argument to search for. |
Definition at line 20 of file Extensions.cs.
|
inlinestatic |
Creates a short opt string from an array of Option objects.
list | The options to convert. |
Definition at line 39 of file Extensions.cs.