![]() |
BadScript 2
|
Models a parser result. When inherited by CommandLine.Parsed<T>, it contains an instance of type T with parsed values. When inherited by CommandLine.NotParsed<T>, it contains a sequence of CommandLine.Error. More...
Package Functions | |
ParserResult (IEnumerable< Error > errors, TypeInfo typeInfo) | |
ParserResult (T value, TypeInfo typeInfo) | |
Properties | |
ParserResultType | Tag [get] |
Parser result type discriminator, defined as CommandLine.ParserResultType enumeration. | |
TypeInfo | TypeInfo [get] |
T | Value [get] |
Gets the instance with parsed values. If one or more errors occures, default is returned. | |
IEnumerable< Error > | Errors [get] |
Gets the sequence of parsing errors. If there are no errors, then an empty IEnumerable is returned. | |
Models a parser result. When inherited by CommandLine.Parsed<T>, it contains an instance of type T with parsed values. When inherited by CommandLine.NotParsed<T>, it contains a sequence of CommandLine.Error.
T | The type with attributes that define the syntax of parsing rules. |
Definition at line 56 of file ParserResult.cs.
|
package |
Definition at line 58 of file ParserResult.cs.
|
package |
Definition at line 66 of file ParserResult.cs.
|
get |
Gets the sequence of parsing errors. If there are no errors, then an empty IEnumerable is returned.
Definition at line 89 of file ParserResult.cs.
|
get |
Parser result type discriminator, defined as CommandLine.ParserResultType enumeration.
Definition at line 77 of file ParserResult.cs.
|
get |
Definition at line 79 of file ParserResult.cs.
|
get |
Gets the instance with parsed values. If one or more errors occures, default
is returned.
Definition at line 84 of file ParserResult.cs.