![]() |
BadScript 2
|
Base type of all errors. More...
Public Member Functions | |
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. | |
Package Functions | |
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. | |
Properties | |
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>). | |
Base type of all errors.
All errors are defined within the system. There's no reason to create custom derivate types.
|
package |
Initializes a new instance of the CommandLine.Error class.
tag | Type discriminator tag. |
stopsProcessing | Tells if error stops parsing process. |
Definition at line 116 of file Error.cs.
|
package |
Initializes a new instance of the CommandLine.Error class.
tag | Type discriminator tag. |
Definition at line 126 of file Error.cs.
bool CommandLine.Error.Equals | ( | Error | other | ) |
Returns a value that indicates whether the current instance and a specified CommandLine.Error have the same value.
other | The CommandLine.Error instance to compare. |
if this instance of CommandLine.Error and other have the same value; otherwise,
false
Definition at line 154 of file Error.cs.
override bool CommandLine.Error.Equals | ( | object | obj | ) |
Determines whether the specified System.Object is equal to the current System.Object.
obj | The System.Object to compare with the current System.Object. |
if the specified System.Object is equal to the current System.Object; otherwise,
false
Definition at line 176 of file Error.cs.
override int CommandLine.Error.GetHashCode | ( | ) |
Serves as a hash function for a particular type.
A hash code for the current System.Object.
|
get |
|
get |
Error type discriminator, defined as CommandLine.ErrorType enumeration.
Definition at line 132 of file Error.cs.