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

Models name information, used in CommandLine.Error instances. More...

Inheritance diagram for CommandLine.NameInfo:

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 (NameInfo other)
 Returns a value that indicates whether the current instance and a specified CommandLine.NameInfo have the same value. More...
 

Static Public Attributes

static readonly NameInfo EmptyName = new NameInfo(string.Empty, string.Empty)
 Represents an empty name information. Used when CommandLine.Error are tied to values, rather than options. More...
 

Properties

string ShortName [get]
 Gets the short name of the name information. More...
 
string LongName [get]
 Gets the long name of the name information. More...
 
string NameText [get]
 Gets a formatted text with unified name information. More...
 

Detailed Description

Models name information, used in CommandLine.Error instances.

Member Function Documentation

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

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

Parameters
otherThe CommandLine.NameInfo instance to compare.
Returns
true

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

false

.

override int CommandLine.NameInfo.GetHashCode ( )
inline

Serves as a hash function for a particular type.

A hash code for the current System.Object.

Member Data Documentation

readonly NameInfo CommandLine.NameInfo.EmptyName = new NameInfo(string.Empty, string.Empty)
static

Represents an empty name information. Used when CommandLine.Error are tied to values, rather than options.

Property Documentation

string CommandLine.NameInfo.LongName
get

Gets the long name of the name information.

string CommandLine.NameInfo.NameText
get

Gets a formatted text with unified name information.

string CommandLine.NameInfo.ShortName
get

Gets the short name of the name information.


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