ConsoleOption
A class in Root.Township, the global namespace.
A named option with an id and usage text. Nothing in this build creates one.
- Listed in Global namespace: C to D
Constructors
| Member | What it is |
|---|---|
ConsoleOption(string name, int optionId, string usage) | Creates a ConsoleOption from name, optionId and usage. |
Properties
| Member | What it is |
|---|---|
string Name { get; private set; } | Option name. |
int OptionId { get; private set; } | Numeric id. |
string Usage { get; private set; } | Usage text. |
Methods
| Member | What it is |
|---|---|
void PrintHelp() | Logs the usage text. |