Models an value specification, or better how to handle values not bound to options.
More...
|
| int | Index [get] |
| | Gets the position this option has on the command line.
|
| |
| string | MetaName [get, set] |
| | Gets or sets name of this positional value specification.
|
| |
Properties inherited from CommandLine.BaseAttribute |
| bool | Required [get, set] |
| | Gets or sets a value indicating whether a command line option is required.
|
| |
| int | Min [get, set] |
| | When applied to System.Collections.Generic.IEnumerable<T> properties defines the lower range of items.
|
| |
| int | Max [get, set] |
| | When applied to System.Collections.Generic.IEnumerable<T> properties defines the upper range of items.
|
| |
| object | Default [get, set] |
| | Gets or sets mapped property default value.
|
| |
| string | HelpText [get, set] |
| | Gets or sets a short description of this command line option. Usually a sentence summary.
|
| |
| string | MetaValue [get, set] |
| | Gets or sets mapped property meta value. Usually an uppercase hint of required value type.
|
| |
| bool | Hidden [get, set] |
| | Gets or sets a value indicating whether a command line option is visible in the help text.
|
| |
| Type | ResourceType [get, set] |
| | Gets or sets the System.Type that contains the resources for HelpText.
|
| |
Models an value specification, or better how to handle values not bound to options.
Definition at line 11 of file ValueAttribute.cs.
◆ ValueAttribute()
| CommandLine.ValueAttribute.ValueAttribute |
( |
int |
index | ) |
|
◆ metaName
| string CommandLine.ValueAttribute.metaName |
|
private |
◆ Index
| int CommandLine.ValueAttribute.Index |
|
get |
Gets the position this option has on the command line.
Definition at line 27 of file ValueAttribute.cs.
◆ MetaName
| string CommandLine.ValueAttribute.MetaName |
|
getset |
Gets or sets name of this positional value specification.
Definition at line 32 of file ValueAttribute.cs.
33 {
35 set =>
metaName = value ??
throw new ArgumentNullException(
"value");
36 }
The documentation for this class was generated from the following file: