Enumerable

Ecng.Common

Represents an abstract enumerable collection of elements.

实现: IEnumerable<T>, IEnumerable

方法

GetEnumerator
protected abstract IEnumerator<T> GetEnumerator()
result = enumerable.GetEnumerator()

When overridden in a derived class, returns an enumerator that iterates through the collection.

返回值: An enumerator that can be used to iterate through the collection.

System#Collections#Generic#IEnumerable{T}#GetEnumerator()

Returns an enumerator that iterates through the collection.

返回值: An enumerator that can be used to iterate through the collection.

System#Collections#IEnumerable#GetEnumerator()

Returns an enumerator that iterates through a collection.

返回值: An IEnumerator object that can be used to iterate through the collection.