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

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

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

Package Functions

 UnknownOptionError (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 option is detected.

Definition at line 382 of file Error.cs.

Constructor & Destructor Documentation

◆ UnknownOptionError()

CommandLine.UnknownOptionError.UnknownOptionError ( string  token)
package

Definition at line 384 of file Error.cs.

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

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