BadScript 2
Loading...
Searching...
No Matches
CommandLine.BadVerbSelectedError Class Referencesealed

Models an error generated when an unknown verb is detected. More...

Inheritance diagram for CommandLine.BadVerbSelectedError:
CommandLine.TokenError CommandLine.Error

Package Functions

 BadVerbSelectedError (string token)
 
- Package Functions inherited from CommandLine.TokenError
 TokenError (ErrorType tag, string token)
 Initializes a new instance of the CommandLine.TokenError class.
 
- Package Functions inherited from CommandLine.Error
 Error (ErrorType tag, bool stopsProcessing)
 Initializes a new instance of the CommandLine.Error class.
 
 Error (ErrorType tag)
 Initializes a new instance of the CommandLine.Error class.
 

Additional Inherited Members

- Public Member Functions inherited from CommandLine.TokenError
bool Equals (TokenError other)
 Returns a value that indicates whether the current instance and a specified CommandLine.TokenError have the same value.
 
override bool Equals (object obj)
 Determines whether the specified System.Object is equal to the current System.Object.
 
override int GetHashCode ()
 Serves as a hash function for a particular type.
 
- Public Member Functions inherited from CommandLine.Error
bool Equals (Error other)
 Returns a value that indicates whether the current instance and a specified CommandLine.Error have the same value.
 
override bool Equals (object obj)
 Determines whether the specified System.Object is equal to the current System.Object.
 
override int GetHashCode ()
 Serves as a hash function for a particular type.
 
- Properties inherited from CommandLine.TokenError
string Token [get]
 The string containing the token text.
 
- Properties inherited from CommandLine.Error
ErrorType Tag [get]
 Error type discriminator, defined as CommandLine.ErrorType enumeration.
 
bool StopsProcessing [get]
 Tells if error stops parsing process. Filtered by CommandLine.ErrorExtensions.OnlyMeaningfulOnes(System.Collections.Generic.IEnumerable<Error>).
 

Detailed Description

Models an error generated when an unknown verb is detected.

Definition at line 444 of file Error.cs.

Constructor & Destructor Documentation

◆ BadVerbSelectedError()

CommandLine.BadVerbSelectedError.BadVerbSelectedError ( string  token)
package

Definition at line 446 of file Error.cs.

447 : base(ErrorType.BadVerbSelectedError, token) { }
ErrorType
Discriminator enumeration of CommandLine.Error derivates.
Definition Error.cs:13

The documentation for this class was generated from the following file: