ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Rendering Assembly / GrapeCity.ActiveReports.Rendering.Tools Namespace / EnumerableExtension Class / SelectManyWithPrev<TSource,TResult> Method
The type of elements in the source sequence.
The type of elements in the result sequence.
The source sequence.
A function to project each element and its previous element into a sequence of results.

In This Topic
SelectManyWithPrev<TSource,TResult> Method
In This Topic
Selects many items with a previous element reference.
Syntax
'Declaration
 
Public Shared Function SelectManyWithPrev
    (Of TSource,TResult)( _
   ByVal source As IEnumerable(Of TSource), _
   ByVal selector As Func(Of TResult,TSource,IEnumerable(Of TResult)) _
) As IEnumerable(Of TResult)
 

Parameters

source
The source sequence.
selector
A function to project each element and its previous element into a sequence of results.

Type Parameters

TSource
The type of elements in the source sequence.
TResult
The type of elements in the result sequence.

Return Value

A sequence of projected elements.
See Also