Methods_T_Cyjb_Collections_ObjectModel_ReadOnlySetBase_1 - CYJB/Cyjb GitHub Wiki

ReadOnlySetBase(T) 方法

The ReadOnlySetBase(T) generic type exposes the following members.

方法

 

名称 说明
公共方法 Contains 确定当前集合是否包含指定对象。 (继承自 ReadOnlyCollectionBase(T)。)
公共方法 CopyTo 从特定的 Array 索引处开始,将当前集合 的元素复制到一个 Array 中。 (继承自 ReadOnlyCollectionBase(T)。)
受保护的方法 CountElements 确定当前集与指定集合相比,相同的和未包含的元素数目。
公共方法 Equals Determines whether the specified object is equal to the current object. (继承自 Object。)
受保护的方法 Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (继承自 Object。)
公共方法 GetEnumerator 返回一个循环访问集合的枚举器。 (继承自 ReadOnlyCollectionBase(T)。)
公共方法 GetHashCode Serves as the default hash function. (继承自 Object。)
受保护的方法 GetSyncRoot 获取一个可用于同步对当前集合的访问的对象。 (继承自 ReadOnlyCollectionBase(T)。)
公共方法 GetType Gets the Type of the current instance. (继承自 Object。)
公共方法 IsProperSubsetOf 确定当前集合是否为指定集合的真子集合。
公共方法 IsProperSupersetOf 确定当前集合是否为指定集合的真超集合。
公共方法 IsSubsetOf 确定当前集合是否为指定集合的子集合。
公共方法 IsSupersetOf 确定当前集合是否为指定集合的超集合。
受保护的方法 MemberwiseClone Creates a shallow copy of the current Object. (继承自 Object。)
公共方法 Overlaps 确定当前集合是否与指定的集合重叠。
公共方法 SetEquals 确定当前集合与指定的集合中是否包含相同的元素。
公共方法 ToString Returns a string that represents the current object. (继承自 Object。)
  Back to Top

扩展方法

 

名称 说明
公共扩展器方法 AddRange(T) 将指定集合的元素添加到当前集合中。 (由 CollectionUtil 定义。)
公共扩展器方法 AsReadOnly(T)() 已重载。 返回当前集合的只读包装。 (由 SetUtil 定义。)
公共扩展器方法 AsReadOnly(T)() 已重载。 返回当前集合的只读包装。 (由 CollectionUtil 定义。)
公共扩展器方法 IsDistinct(T) 判断序列中是否不包含重复元素。 (由 EnumerableUtil 定义。)
  Back to Top

参见

Reference

ReadOnlySetBase(T) 类
Cyjb.Collections.ObjectModel 命名空间

⚠️ **GitHub.com Fallback** ⚠️