Table of Contents

Class CachedCountEnumerable<T>

Namespace
Garyon.Extensions
Assembly
Garyon.dll

An IEnumerable<T> wrapper that provides the ability to cache the count of the underlying enumerable, and also provide the real-time lower bound of the count while enumerating.

public class CachedCountEnumerable<T> : CachedCountEnumerable, IEnumerable<T>, IEnumerable where T : allows ref struct

Type Parameters

T
Inheritance
CachedCountEnumerable<T>
Implements
Inherited Members
Extension Methods

Constructors

CachedCountEnumerable(IEnumerable<T>)

An IEnumerable<T> wrapper that provides the ability to cache the count of the underlying enumerable, and also provide the real-time lower bound of the count while enumerating.

public CachedCountEnumerable(IEnumerable<T> enumerable)

Parameters

enumerable IEnumerable<T>