Token Class
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 ref class Token : IEquatable<System::CommandLine::Parsing::Token ^>
public class Token : IEquatable<System.CommandLine.Parsing.Token>
type Token = class
interface IEquatable<Token>
Public Class Token
Implements IEquatable(Of Token)
- Inheritance
-
Token
- Implements
Constructors
Token(String, TokenType, Symbol) |
Properties
Type |
The type of the token. |
Value |
The string value of the token. |
Methods
Equals(Object) |
Determines whether the specified object is equal to the current object. |
Equals(Token) |
Indicates whether the current object is equal to another object of the same type. |
GetHashCode() |
Serves as the default hash function. |
ToString() |
Returns a string that represents the current object. |
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. |