ArgumentParsedEventArgs Class |
Namespace: Ookii.CommandLine
The ArgumentParsedEventArgs type exposes the following members.
Name | Description | |
---|---|---|
ArgumentParsedEventArgs |
Initializes a new instance of the ArgumentParsedEventArgs class.
|
Name | Description | |
---|---|---|
Argument |
Gets the argument that was parsed.
| |
Cancel | (Inherited from CancelEventArgs.) |
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
If the event handler sets the Cancel property to , command line processing will stop immediately, and the Parse(String, Int32) method will return , even if all the required positional parameters have already been parsed. You can use this for instance to implement a "/?" argument that will display usage and quit regardless of the other command line arguments.