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

Base type of all errors. More...

Inheritance diagram for CommandLine.Error:
CommandLine.HelpRequestedError CommandLine.HelpVerbRequestedError CommandLine.NamedError CommandLine.NoVerbSelectedError CommandLine.TokenError CommandLine.BadFormatConversionError CommandLine.MissingRequiredOptionError CommandLine.MissingValueOptionError CommandLine.MutuallyExclusiveSetError CommandLine.SequenceOutOfRangeError 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 (Error other)
 Returns a value that indicates whether the current instance and a specified CommandLine.Error have the same value. More...
 

Properties

ErrorType Tag [get]
 Error type discriminator, defined as CommandLine.ErrorType enumeration. More...
 

Detailed Description

Base type of all errors.

All errors are defined within the system. There's no reason to create custom derivate types.

Member Function Documentation

override bool CommandLine.Error.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.Error.Equals ( Error  other)
inline

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

Parameters
otherThe CommandLine.Error instance to compare.
Returns
true

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

false

.

override int CommandLine.Error.GetHashCode ( )
inline

Serves as a hash function for a particular type.

A hash code for the current System.Object.

Property Documentation

ErrorType CommandLine.Error.Tag
get

Error type discriminator, defined as CommandLine.ErrorType enumeration.


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