'Declaration Public Shared Function Memoize(Of TSource)( _ ByVal source As IEnumerable(Of TSource) _ ) As IBuffer(Of TSource)
public static IBuffer<TSource> Memoize<TSource>( IEnumerable<TSource> source )
Parameters
- source
- Source sequence.
Type Parameters
- TSource
- Source sequence element type.
Return Value
Buffer enabling each enumerator to retrieve all elements from the shared source sequence, without duplicating source enumeration side-effects.