T_Cyjb_Collections_IRangeCollection_1 - CYJB/Cyjb GitHub Wiki

IRangeCollection(T) 接口

表示可以使用范围表示的集合。

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

语法

C#

public interface IRangeCollection<T> : IEnumerable<T>, 
	IEnumerable
where T : Object, IComparable<T>

类型参数

 

T
集合中元素的类型。
  The IRangeCollection(T) type exposes the following members.

属性

 

名称 说明
公共属性 Count 获取当前集合包含的元素数。
  Back to Top

方法

 

名称 说明
公共方法 GetEnumerator Returns an enumerator that iterates through the collection. (继承自 IEnumerable(T)。)
公共方法 Ranges 返回一个循环访问元素范围的枚举器。
  Back to Top

扩展方法

 

名称 说明
公共扩展器方法 IsDistinct(T) 判断序列中是否不包含重复元素。 (由 EnumerableUtil 定义。)
  Back to Top

参见

Reference

Cyjb.Collections 命名空间

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