ActiveReports 12
SelectWithNext<TSource,TResult> Method

GrapeCity.ActiveReports.v12 Assembly > GrapeCity.Enterprise.Data.DataEngine.Extensions Namespace > EnumerableExtensions Class : SelectWithNext<TSource,TResult> Method
Type of collection item.
Type of result collection item.
Source collection.
Projection function (x,y) -> z, where x is current item and y is next.
Proceeds each item in enumerable with its follower.
Syntax
'Declaration
 
Public Shared Function SelectWithNext
    (Of TSource,TResult)( _
   ByVal source As IEnumerable(Of TSource), _
   ByVal projection As Func(Of TSource,TSource,TResult) _
) As IEnumerable(Of TResult)

Parameters

source
Source collection.
projection
Projection function (x,y) -> z, where x is current item and y is next.

Type Parameters

TSource
Type of collection item.
TResult
Type of result collection item.
See Also

Reference

EnumerableExtensions Class
EnumerableExtensions Members