Models name information, used in CommandLine.Error instances.
More...
|
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...
|
|
|
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...
|
|
Models name information, used in CommandLine.Error instances.
override bool CommandLine.NameInfo.Equals |
( |
object |
obj | ) |
|
|
inline |
Determines whether the specified System.Object is equal to the current System.Object.
- Parameters
-
obj | The 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
-
- 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.
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.
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:
- src/CommandLine/NameInfo.cs