Token Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A unit of significant text on the command line.
public value class Token : IEquatable<System::CommandLine::Parsing::Token>
public readonly struct Token : IEquatable<System.CommandLine.Parsing.Token>
type Token = struct
Public Structure Token
Implements IEquatable(Of Token)
- Inheritance
- Implements
Constructors
Token(String, TokenType, Symbol) |
Properties
Type |
The type of the token. |
Value |
The string value of the token. |
Methods
Equals(Object) |
Indicates whether this instance and a specified object are equal. |
Equals(Token) |
Indicates whether the current object is equal to another object of the same type. |
GetHashCode() |
Returns the hash code for this instance. |
ToString() |
Returns the fully qualified type name of this instance. |
Operators
Equality(Token, Token) |
Checks if two specified Token instances have the same value. |
Inequality(Token, Token) |
Checks if two specified Token instances have different values. |