Skip to content

M_Cyjb_Text_Token_1_Equals

CYJB edited this page Mar 23, 2024 · 8 revisions

Token(T).Equals 方法 (Token(T))

返回当前对象是否等于同一类型的另一对象。

Namespace: Cyjb.Text
Assembly: Cyjb.Compilers.Runtime (in Cyjb.Compilers.Runtime.dll) Version: 1.0.20+d347ea0351607fb282fdf60a5301f9cccb3ab27e

语法

C#

public bool Equals(
	Token<T>? other
)

参数

 

other
Type: Cyjb.Text.Token(T)
要比较的对象。

返回值

Type: Boolean
如果当前对象等于 other,则为 true;否则为 false

实现

IEquatable(T).Equals(T)

参见

Reference

Token(T) 类
Equals 重载
Cyjb.Text 命名空间

Clone this wiki locally