'Declaration Public Overloads Shared Function GroupBy (Of TSource,TKey,TResult)( _ ByVal source As IIndexedSource(Of TSource), _ ByVal keySelector As Expression(Of Func(Of TSource,TKey)), _ ByVal resultSelector As Expression(Of Func(Of TKey,IEnumerable(Of TSource),TResult)) _ ) As IIndexedSource(Of TResult)
Parameters
- source
- An C1.LiveLinq.Indexing.IIndexedSource<T> whose elements to group
- keySelector
- A function to extract the key for each element.
- resultSelector
- A function to create a result value from each group.
Type Parameters
- TSource
- The type of the elements of source.
- TKey
- The type of the key returned by keySelector.
- TResult
- The type of the result value returned by resultSelector
Return Value
A collection of elements of type TResult where each element represents a projection over a group and its key.