T_Cyjb_Collections_ObjectModel_ReadOnlySetBase_1 - CYJB/Cyjb GitHub Wiki
为泛型集合提供基类。
System.Object
Cyjb.Collections.ObjectModel.ReadOnlyCollectionBase(T)
Cyjb.Collections.ObjectModel.ReadOnlySetBase(T)
Cyjb.Collections.ReadOnlyCharSet
Namespace: Cyjb.Collections.ObjectModel
Assembly: Cyjb (in Cyjb.dll) Version: 1.0.23+7750dd8e971297c5fa962a3bee37fb78f72793f6
C#
public abstract class ReadOnlySetBase<T> : ReadOnlyCollectionBase<T>,
ISet<T>, ICollection<T>, IEnumerable<T>, IEnumerable, IReadOnlySet<T>,
IReadOnlyCollection<T>
- T
- 集合中的元素类型。
名称 | 说明 | |
---|---|---|
![]() |
ReadOnlySetBase(T) | 初始化 ReadOnlySetBase(T) 类的新实例。 |
名称 | 说明 | |
---|---|---|
![]() |
Count | 获取当前集合包含的元素数。 (继承自 ReadOnlyCollectionBase(T)。) |
名称 | 说明 | |
---|---|---|
![]() |
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。) |
名称 | 说明 | |
---|---|---|
![]() |
AddRange(T) | 将指定集合的元素添加到当前集合中。 (由 CollectionUtil 定义。) |
![]() |
AsReadOnly(T)() | 已重载。 返回当前集合的只读包装。 (由 SetUtil 定义。) |
![]() |
AsReadOnly(T)() | 已重载。 返回当前集合的只读包装。 (由 CollectionUtil 定义。) |
![]() |
IsDistinct(T) | 判断序列中是否不包含重复元素。 (由 EnumerableUtil 定义。) |