Leer en inglés Editar

Compartir a través de


Token Class

Definition

A unit of significant text on the command line.

C#
public class Token : IEquatable<System.CommandLine.Parsing.Token>
C#
public readonly struct Token : IEquatable<System.CommandLine.Parsing.Token>
Inheritance
Token
Inheritance
Implements

Constructors

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.

Applies to

Producto Versiones
.NET 6 (package-provided), 7 (package-provided), 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Standard 2.0 (package-provided)