Models a parser result. It contains an instance of type T with parsed values and a sequence of CommandLine.Error.
More...
|
override bool | Equals (object obj) |
| Determines whether the specified System.Object is equal to the current System.Object. More...
|
|
override int | GetHashCode () |
| Serves as a hash function for a particular type. More...
|
|
bool | Equals (ParserResult< T > other) |
| Returns a value that indicates whether the current instance and a specified CommandLine.ParserResult{T} have the same value. More...
|
|
Models a parser result. It contains an instance of type T with parsed values and a sequence of CommandLine.Error.
- Template Parameters
-
T | The type with attributes that define the syntax of parsing rules. |
override bool CommandLine.ParserResult< T >.Equals |
( |
object |
obj | ) |
|
|
inline |
Determines whether the specified System.Object is equal to the current System.Object.
- Parameters
-
obj | The System.Object to compare with the current System.Object. |
- Returns
- true
if the specified System.Object is equal to the current System.Object; otherwise,
false
.
bool CommandLine.ParserResult< T >.Equals |
( |
ParserResult< T > |
other | ) |
|
|
inline |
Returns a value that indicates whether the current instance and a specified CommandLine.ParserResult{T} have the same value.
- Parameters
-
other | The CommandLine.ParserResult{T} instance to compare. |
- Returns
- true
if this instance of CommandLine.ParserResult{T} and other have the same value; otherwise,
false
.
override int CommandLine.ParserResult< T >.GetHashCode |
( |
| ) |
|
|
inline |
Serves as a hash function for a particular type.
A hash code for the current System.Object.
IEnumerable<Error> CommandLine.ParserResult< T >.Errors |
|
get |
Gets the sequence of parsing errors.
T CommandLine.ParserResult< T >.Value |
|
get |
Gets the instance with parsed values.
The documentation for this class was generated from the following file:
- src/CommandLine/ParserResult.cs