Class LookAheadEnumerable<T>
Implements a look-ahead enumerator wrapped around a regular enumerator
Inheritance
System.Object
LookAheadEnumerable<T>
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Azos.Collections
Assembly: Azos.dll
Syntax
public sealed class LookAheadEnumerable<T> : ILookAheadEnumerable<T>, IEnumerable<T>, IEnumerable
Type Parameters
Name | Description |
---|---|
T |
Constructors
LookAheadEnumerable(IEnumerable<T>)
Declaration
public LookAheadEnumerable(IEnumerable<T> enumerable)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<T> | enumerable |
Fields
Source
References source enumerable which this one is wrapped around
Declaration
public readonly IEnumerable<T> Source
Field Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<T> |
Methods
GetEnumerator()
Declaration
public IEnumerator<T> GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerator<T> |
GetLookAheadEnumerator()
Declaration
public ILookAheadEnumerator<T> GetLookAheadEnumerator()
Returns
Type | Description |
---|---|
ILookAheadEnumerator<T> |
Explicit Interface Implementations
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.IEnumerator |
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable