Used to control parsing of command line arguments.
Namespace:
Gallio.Runtime.ConsoleSupportAssembly: Gallio (in Gallio.dll) Version: 3.3.0.0 (3.3.610.0)
Syntax
| C# |
|---|
[FlagsAttribute] public enum CommandLineArgumentFlags |
| Visual Basic (Declaration) |
|---|
<FlagsAttribute> _ Public Enumeration CommandLineArgumentFlags |
Members
| Member name | Description | |
|---|---|---|
| Required |
Indicates that this field is required. An error will be displayed
if it is not present when parsing arguments.
| |
| Unique |
Only valid in conjunction with Multiple.
Duplicate values will result in an error.
| |
| Multiple |
Inidicates that the argument may be specified more than once.
Only valid if the argument is a collection
| |
| AtMostOnce |
The default type for non-collection arguments.
The argument is not required, but an error will be reported if it is specified more than once.
| |
| LastOccurrenceWins |
For non-collection arguments, when the argument is specified more than
once no error is reported and the value of the argument is the last
value which occurs in the argument list.
| |
| MultipleUnique |
The default type for collection arguments.
The argument is permitted to occur multiple times, but duplicate
values will cause an error to be reported.
| |
| Format |
Formats an object using the default IFormatter.
| |
| Format |
Formats an object using the specified IFormatter.
|
Remarks
Command line parsing code from Peter Halam,
