Definition at line 51 of file Token.cs.
◆ Name()
CommandLine.Core.Name.Name |
( |
string |
text | ) |
|
◆ Equals() [1/2]
bool CommandLine.Core.Name.Equals |
( |
Name |
other | ) |
|
Definition at line 58 of file Token.cs.
59 {
60 if (other == null)
61 {
62 return false;
63 }
64
65 return Tag.Equals(other.Tag) &&
Text.Equals(other.Text);
66 }
◆ Equals() [2/2]
override bool CommandLine.Core.Name.Equals |
( |
object |
obj | ) |
|
Definition at line 70 of file Token.cs.
71 {
73
74 if (other != null)
75 {
77 }
78
79 return base.Equals(obj);
80 }
◆ GetHashCode()
override int CommandLine.Core.Name.GetHashCode |
( |
| ) |
|
Definition at line 82 of file Token.cs.
83 {
84 return new {
Tag,
Text }.GetHashCode();
85 }
The documentation for this class was generated from the following file:
- deps/commandlineparser/src/CommandLine/Core/Token.cs