IEnumerable<T>.Memoize Method

Definition

Returns a sequence that lazily caches the sequence as it is iterated for the first time, reusing the cache thereafter for future re-iterations. If the sequence is already cached or buffered then it is returned verbatim.

Delphi
function Memoize: IEnumerable<T>

Returns

IEnumerable<T>

A sequence that corresponds to a cached version of the sequence.