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

Models an error generated when an invalid token is detected. More...

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

Package Functions

 BadFormatTokenError (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 invalid token is detected.

Definition at line 285 of file Error.cs.

Constructor & Destructor Documentation

◆ BadFormatTokenError()

CommandLine.BadFormatTokenError.BadFormatTokenError ( string  token)
package

Definition at line 287 of file Error.cs.

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

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