![]() |
BadScript 2
|
Models name information, used in CommandLine.Error instances. More...
Public Member Functions | |
bool | Equals (NameInfo other) |
Returns a value that indicates whether the current instance and a specified CommandLine.NameInfo have the same value. | |
override bool | Equals (object obj) |
Determines whether the specified System.Object is equal to the current System.Object. | |
override int | GetHashCode () |
Serves as a hash function for a particular type. | |
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. | |
Package Functions | |
NameInfo (string shortName, string longName) | |
Properties | |
string | ShortName [get] |
Gets the short name of the name information. | |
string | LongName [get] |
Gets the long name of the name information. | |
string | NameText [get] |
Gets a formatted text with unified name information. | |
Models name information, used in CommandLine.Error instances.
Definition at line 10 of file NameInfo.cs.
|
package |
Definition at line 18 of file NameInfo.cs.
bool CommandLine.NameInfo.Equals | ( | NameInfo | other | ) |
Returns a value that indicates whether the current instance and a specified CommandLine.NameInfo have the same value.
other | The CommandLine.NameInfo instance to compare. |
if this instance of CommandLine.NameInfo and other have the same value; otherwise,
false
Definition at line 64 of file NameInfo.cs.
override bool CommandLine.NameInfo.Equals | ( | object | obj | ) |
Determines whether the specified System.Object is equal to the current System.Object.
obj | The System.Object to compare with the current System.Object. |
if the specified System.Object is equal to the current System.Object; otherwise,
false
Definition at line 86 of file NameInfo.cs.
override int CommandLine.NameInfo.GetHashCode | ( | ) |
Serves as a hash function for a particular type.
A hash code for the current System.Object.
Definition at line 102 of file NameInfo.cs.
Represents an empty name information. Used when CommandLine.Error are tied to values, rather than options.
Definition at line 16 of file NameInfo.cs.
|
get |
|
get |
Gets a formatted text with unified name information.
Definition at line 47 of file NameInfo.cs.
|
get |