![]() |
virtualSoC
0.6.2
baskett
|
An option that can take multiple values. More...
Public Member Functions | |
CollectionArgument (bool required=false) | |
Initializes a new instance of the CollectionArgument class. More... | |
override object | GetValue () |
Gets the value of this argument. More... | |
override void | Reset () |
Resets this argument. More... | |
override void | SetValue (object value) |
Sets the value for this argument. More... | |
CollectionArgument (bool required=false) | |
Initializes a new instance of the CollectionArgument class. More... | |
override object | GetValue () |
Gets the value of this argument. More... | |
override void | Reset () |
Resets this argument. More... | |
override void | SetValue (object value) |
Sets the value for this argument. More... | |
CollectionArgument (bool required=false) | |
Initializes a new instance of the CollectionArgument class. More... | |
override object | GetValue () |
Gets the value of this argument. More... | |
override void | Reset () |
Resets this argument. More... | |
override void | SetValue (object value) |
Sets the value for this argument. More... | |
Properties | |
object | DefaultValue [get, set] |
The default value that will be used if no value was passed on the command line. More... | |
string | HelpMessage [get, set] |
The message that will be displayed in the help page for your program. More... | |
string | HelpPlaceholder [get, set] |
Value that will be shown (in upper case) in the usage page for this argument. Setting this to null will display the default value (i.e. OPTION, COLLECTION, etc.). More... | |
bool | IsRequired [get, protected set] |
Flag indicating whether this argument is required, i.e. must be provided via the command line. More... | |
bool | NeedsValue [get, protected set] |
Indicates whether this argument requires an explicit option. More... | |
Action< object > | Processor [get, set] |
A method that can be executed when the command line arguments are processed. More... | |
bool | SupportsMultipleValues [get, protected set] |
Flag indicating whether multplie calls to SetValue will add a value or overwrite the existing one. More... | |
Func< object, bool > | Validator [get, set] |
A method that can be used to validate a value for this argument. More... | |
An option that can take multiple values.
DotArgs.CollectionArgument.CollectionArgument | ( | bool | required = false | ) |
Initializes a new instance of the CollectionArgument class.
required | Flag indicating whether this argument is required. |
DotArgs.CollectionArgument.CollectionArgument | ( | bool | required = false | ) |
Initializes a new instance of the CollectionArgument class.
required | Flag indicating whether this argument is required. |
DotArgs.CollectionArgument.CollectionArgument | ( | bool | required = false | ) |
Initializes a new instance of the CollectionArgument class.
required | Flag indicating whether this argument is required. |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Sets the value for this argument.
value | The value to set. |
Reimplemented from DotArgs.Argument.
|
virtual |
Sets the value for this argument.
value | The value to set. |
Reimplemented from DotArgs.Argument.
|
virtual |
Sets the value for this argument.
value | The value to set. |
Reimplemented from DotArgs.Argument.
|
getsetinherited |
The default value that will be used if no value was passed on the command line.
Using this when IsRequired is set will have no effect.
|
getsetinherited |
The message that will be displayed in the help page for your program.
|
getsetinherited |
Value that will be shown (in upper case) in the usage page for this argument. Setting this to null
will display the default value (i.e. OPTION, COLLECTION, etc.).
|
getprotected setinherited |
Flag indicating whether this argument is required, i.e. must be provided via the command line.
|
getprotected setinherited |
Indicates whether this argument requires an explicit option.
|
getsetinherited |
A method that can be executed when the command line arguments are processed.
|
getprotected setinherited |
Flag indicating whether multplie calls to SetValue will add a value or overwrite the existing one.
|
getsetinherited |
A method that can be used to validate a value for this argument.