Skip to content

T_Cyjb_UnorderedHashCode

CYJB edited this page Mar 20, 2024 · 11 revisions

UnorderedHashCode 结构

表示无序的哈希代码。

Namespace: Cyjb
Assembly: Cyjb (in Cyjb.dll) Version: 1.0.23+7750dd8e971297c5fa962a3bee37fb78f72793f6

语法

C#

public struct UnorderedHashCode

The UnorderedHashCode type exposes the following members.

构造函数

 

名称 说明
公共方法 UnorderedHashCode 初始化 UnorderedHashCode 结构的新实例。
  Back to Top

方法

 

名称 说明
公共方法 Add(T)(T) 将指定值添加到无序哈希代码。
公共方法 Add(T)(T, IEqualityComparer(T)) 将指定值添加到无序哈希代码,指定提供哈希代码的方法。
公共方法静态成员 Combine(T) 返回指定集合的无序哈希代码。
公共方法 Equals **Obsolete. ** 此方法不受支持,因此不应调用。 (重写 ValueType.Equals(Object).)
公共方法 GetHashCode **Obsolete. ** 此方法不受支持,因此不应调用。 (重写 ValueType.GetHashCode().)
公共方法 GetType Gets the Type of the current instance. (继承自 Object。)
公共方法 ToHashCode 返回计算得到的最终哈希代码。
公共方法 ToString Returns the fully qualified type name of this instance. (继承自 ValueType。)
  Back to Top

Remarks

HashCode 类似,此请勿存储序列化 UnorderedHashCode 生成的哈希代码。

参见

Reference

Cyjb 命名空间

Clone this wiki locally