Skip to content

T_Cyjb_Collections_ObjectModel_EnumeratorBase_1

CYJB edited this page Mar 20, 2024 · 7 revisions

EnumeratorBase(T) 类

为枚举器提供基类。

继承层次

System.Object
  Cyjb.Collections.ObjectModel.EnumeratorBase(T)
Namespace: Cyjb.Collections.ObjectModel
Assembly: Cyjb (in Cyjb.dll) Version: 1.0.23+7750dd8e971297c5fa962a3bee37fb78f72793f6

语法

C#

public abstract class EnumeratorBase<T> : IEnumerator<T>, 
	IEnumerator, IDisposable

类型参数

 

T
枚举的元素类型。
  The EnumeratorBase(T) type exposes the following members.

构造函数

 

名称 说明
受保护的方法 EnumeratorBase(T) 使用指定的堆栈实例初始化 EnumeratorBase(T) 类的新实例。
  Back to Top

属性

 

名称 说明
公共属性 Current 获取集合中位于枚举数当前位置的元素。
  Back to Top

方法

 

名称 说明
受保护的方法 CheckVersionChanged 检查容器版本是否发生了变化。
公共方法 Dispose() 执行与释放或重置非托管资源相关的应用程序定义的任务。
受保护的方法 Dispose(Boolean) 执行与释放或重置非托管资源相关的应用程序定义的任务。
公共方法 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。)
公共方法 GetHashCode Serves as the default hash function. (继承自 Object。)
公共方法 GetType Gets the Type of the current instance. (继承自 Object。)
受保护的方法 MemberwiseClone Creates a shallow copy of the current Object. (继承自 Object。)
公共方法 MoveNext() 将枚举数推进到集合的下一个元素。
受保护的方法 MoveNext(Boolean, T) 将枚举数推进到集合的下一个元素。
公共方法 ToString Returns a string that represents the current object. (继承自 Object。)
  Back to Top

参见

Reference

Cyjb.Collections.ObjectModel 命名空间

Clone this wiki locally