CommandLine
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Member Functions | Properties | List of all members
CommandLine.TokenError Class Reference

Base type of all errors related to bad token detection. More...

Inheritance diagram for CommandLine.TokenError:
CommandLine.Error CommandLine.BadFormatTokenError CommandLine.BadVerbSelectedError CommandLine.UnknownOptionError

Public Member Functions

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 (TokenError other)
 Returns a value that indicates whether the current instance and a specified CommandLine.TokenError have the same value. More...
 
- Public Member Functions inherited from CommandLine.Error
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 (Error other)
 Returns a value that indicates whether the current instance and a specified CommandLine.Error have the same value. More...
 

Properties

string Token [get]
 The string containing the token text. More...
 
- Properties inherited from CommandLine.Error
ErrorType Tag [get]
 Error type discriminator, defined as CommandLine.ErrorType enumeration. More...
 

Detailed Description

Base type of all errors related to bad token detection.

Member Function Documentation

override bool CommandLine.TokenError.Equals ( object  obj)
inline

Determines whether the specified System.Object is equal to the current System.Object.

Parameters
objThe 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.TokenError.Equals ( TokenError  other)
inline

Returns a value that indicates whether the current instance and a specified CommandLine.TokenError have the same value.

Parameters
otherThe CommandLine.TokenError instance to compare.
Returns
true

if this instance of CommandLine.TokenError and other have the same value; otherwise,

false

.

override int CommandLine.TokenError.GetHashCode ( )
inline

Serves as a hash function for a particular type.

A hash code for the current System.Object.

Property Documentation

string CommandLine.TokenError.Token
get

The string containing the token text.


The documentation for this class was generated from the following file: