Methods_T_Cyjb_Collections_ReadOnlyCharSet - CYJB/Cyjb GitHub Wiki

ReadOnlyCharSet 方法

The ReadOnlyCharSet type exposes the following members.

方法

 

名称 说明
公共方法 Contains 确定当前集合是否包含指定字符。 (重写 ReadOnlyCollectionBase(T).Contains(T).)
公共方法 CopyTo 从特定的 Array 索引处开始,将当前集合 的元素复制到一个 Array 中。 (继承自 ReadOnlyCollectionBase(T)。)
公共方法 Equals(Object) 确定指定对象是否等于当前对象。 (重写 Object.Equals(Object).)
公共方法 Equals(ReadOnlyCharSet) 指示当前对象是否等于同一类型的另一个对象。
公共方法静态成员 FromRange 从指定的范围字符串初始化 ReadOnlyCharSet 类的新实例。
公共方法 GetEnumerator 返回一个循环访问集合的枚举器。 (重写 ReadOnlyCollectionBase(T).GetEnumerator().)
公共方法 GetHashCode 返回当前对象的哈希代码。 (重写 Object.GetHashCode().)
公共方法 GetType Gets the Type of the current instance. (继承自 Object。)
公共方法 IsProperSubsetOf 确定当前集合是否为指定集合的真子集合。 (重写 ReadOnlySetBase(T).IsProperSubsetOf(IEnumerable(T)).)
公共方法 IsProperSupersetOf 确定当前集合是否为指定集合的真超集合。 (重写 ReadOnlySetBase(T).IsProperSupersetOf(IEnumerable(T)).)
公共方法 IsSubsetOf 确定当前集合是否为指定集合的子集合。 (重写 ReadOnlySetBase(T).IsSubsetOf(IEnumerable(T)).)
公共方法 IsSupersetOf 确定当前集合是否为指定集合的超集合。 (重写 ReadOnlySetBase(T).IsSupersetOf(IEnumerable(T)).)
公共方法 Overlaps 确定当前集合是否与指定的集合重叠。 (重写 ReadOnlySetBase(T).Overlaps(IEnumerable(T)).)
公共方法 RangeCount 返回当前字符集合包含的范围个数。
公共方法 Ranges 返回一个循环访问字符范围的枚举器。
公共方法 SetEquals 确定当前集合与指定的集合中是否包含相同的元素。 (重写 ReadOnlySetBase(T).SetEquals(IEnumerable(T)).)
公共方法 ToString 返回当前集合的字符串表示。 (重写 Object.ToString().)
  Back to Top

扩展方法

 

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

参见

Reference

ReadOnlyCharSet 类
Cyjb.Collections 命名空间

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