Interface IBuffer<T>
Represents a cached sequence that can be re-enumerated multiple times.
Namespace: SuperLinq
Assembly: SuperLinq.dll
Syntax
public interface IBuffer<out T> : IEnumerable<T>, IEnumerable, IDisposable
Type Parameters
Name | Description |
---|---|
T | The type of the items in the cached sequence. |
Properties
Name | Description |
---|---|
Count | The number of elements currently cached. |
Methods
Name | Description |
---|---|
Reset() | Clears the current buffer and restarts the enumeration from the beginning. |
Extension Methods
SuperEnumerable.CountDown<TSource, TResult>(IEnumerable<TSource>, int, Func<TSource, int?, TResult>)
SuperEnumerable.ToArrayByIndex<T, TResult>(IEnumerable<T>, int, Func<T, int>, Func<T, int, TResult>)
SuperEnumerable.ToDataTable<T, TTable>(IEnumerable<T>, TTable, params Expression<Func<T, object>>[])
SuperEnumerable.TrySingle<T, TCardinality>(IEnumerable<T>, TCardinality, TCardinality, TCardinality)