Class CommandLine.OptionDefinition
Associates one or more option names with a default value.
Namespace: Neon.Common
Assembly: Neon.Common.dll
Syntax
public class CommandLine.OptionDefinition
Constructors
OptionDefinition(IEnumerable<string>)
Constructor.
Declaration
public OptionDefinition(IEnumerable<string> names)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<string> | names | The associated option names. |
Properties
Default
The option's default value.
Declaration
public string Default { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Names
Returns the array of associated option names.
Declaration
public string[] Names { get; }
Property Value
| Type | Description |
|---|---|
| string[] |