'Declaration Public Shared Function SelectWithPrevNext (Of T As Class, TResult)( _ ByVal items As IEnumerable(Of T), _ ByVal selector As Func(Of T,T,T,TResult) _ ) As IEnumerable(Of TResult)
public static IEnumerable<TResult> SelectWithPrevNext<T,TResult>( IEnumerable<T> items, Func<T,T,T,TResult> selector ) where T: class
Parameters
- items
- The source sequence.
- selector
- A function to project each element with references to the previous and next elements.
Type Parameters
- T
- The type of elements in the sequence.
- TResult
- The type of elements in the result sequence.
Return Value
A sequence of projected elements.