T_CommandLine_ParserResult_1 - adutton/commandline GitHub Wiki
Models a parser result. When inherited by Parsed(T), it contains an instance of type T with parsed values. When inherited by NotParsed(T), it contains a sequence of Error.
System.Object
CommandLine.ParserResult(T)
CommandLine.NotParsed(T)
CommandLine.Parsed(T)
Namespace: CommandLine
Assembly: CommandLine (in CommandLine.dll) Version: 0.0.0
C#
public abstract class ParserResult<T>VB
Public MustInherit Class ParserResult(Of T)C++
generic<typename T>
public ref class ParserResult abstractF#
[<AbstractClassAttribute>]
type ParserResult<'T> = class end
- T
- The type with attributes that define the syntax of parsing rules.
| Name | Description | |
|---|---|---|
![]() |
ParserResult(T) | Initializes a new instance of the ParserResult(T) class |
| Name | Description | |
|---|---|---|
![]() |
Tag | Parser result type discriminator, defined as ParserResultType enumeration. |
![]() |
TypeInfo |
| Name | Description | |
|---|---|---|
![]() |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() |
GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() |
IsEmpty | (Defined by UnParserExtensions.) |
![]() |
MapResult(TSource, TResult) | Provides a way to transform result data into another value. (Defined by ParserResultExtensions.) |
![]() |
NormalizeValue | (Defined by UnParserExtensions.) |
![]() |
WithNotParsed(T) | Executes action if ParserResult(T) lacks parsed values and contains errors. (Defined by ParserResultExtensions.) |
![]() |
WithParsed(T) | Executes action if ParserResult(T) contains parsed values. (Defined by ParserResultExtensions.) |




