Skip to content

T_CommandLine_NotParsed_1

Moh.Hassan edited this page Oct 10, 2019 · 1 revision

NotParsed(T) Class

It contains a sequence of Error.

Inheritance Hierarchy

System.Object
  CommandLine.ParserResult(T)
    CommandLine.NotParsed(T)
Namespace: CommandLine
Assembly: CommandLine (in CommandLine.dll) Version: 0.0.0

Syntax

C#

public sealed class NotParsed<T> : ParserResult<T>, 
	IEquatable<NotParsed<T>>

VB

Public NotInheritable Class NotParsed(Of T)
	Inherits ParserResult(Of T)
	Implements IEquatable(Of NotParsed(Of T))

C++

generic<typename T>
public ref class NotParsed sealed : public ParserResult<T>, 
	IEquatable<NotParsed<T>^>

F#

[<SealedAttribute>]
type NotParsed<'T> =  
    class
        inherit ParserResult<'T>
        interface IEquatable<NotParsed<'T>>
    end

Type Parameters

 

T
The type with attributes that define the syntax of parsing rules.
  The NotParsed(T) type exposes the following members.

Constructors

 

Name Description
Protected method NotParsed(T) Initializes a new instance of the NotParsed(T) class
  Back to Top

Properties

 

Name Description
Public property Errors Gets the sequence of parsing errors.
Public property Tag Parser result type discriminator, defined as ParserResultType enumeration. (Inherited from ParserResult(T).)
Public property TypeInfo (Inherited from ParserResult(T).)
  Back to Top

Methods

 

Name Description
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Overrides Object.Equals(Object).)
Public method Equals(NotParsed(T)) Returns a value that indicates whether the current instance and a specified NotParsed(T) have the same value.
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Overrides Object.GetHashCode().)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
  Back to Top

Extension Methods

 

Name Description
Private Extension Method IsEmpty (Defined by UnParserExtensions.)
Public Extension Method MapResult(T, TResult) Provides a way to transform result data into another value. (Defined by ParserResultExtensions.)
Private Extension Method NormalizeValue (Defined by UnParserExtensions.)
Public Extension Method WithNotParsed(T) Executes action if ParserResult(T) lacks parsed values and contains errors. (Defined by ParserResultExtensions.)
Public Extension Method WithParsed(T) Executes action if ParserResult(T) contains parsed values. (Defined by ParserResultExtensions.)
  Back to Top

See Also

Reference

CommandLine Namespace

Clone this wiki locally