Interface AggregateLambdaFactory<TSource,TOrigAccumulate,TAccumulate,TResult,TKey>
- Type Parameters:
TSource
- Type of the enumerable input sourceTOrigAccumulate
- Type of the original accumulatorTAccumulate
- Type of the varied accumulatorTResult
- Type of the enumerable output resultTKey
- Type of the group-by key
- All Known Implementing Classes:
BasicAggregateLambdaFactory
,LazyAggregateLambdaFactory
public interface AggregateLambdaFactory<TSource,TOrigAccumulate,TAccumulate,TResult,TKey>
Generates lambda functions used in
EnumerableAggregate
.
This interface allows a implicit accumulator type variation.
(OAccumulate
-> TAccumulate
)
-
Method Summary
Modifier and TypeMethodDescriptionresultSelector
(Function2<TKey, TOrigAccumulate, TResult> resultSelector) singleGroupResultSelector
(Function1<TOrigAccumulate, TResult> resultSelector)
-
Method Details
-
accumulatorInitializer
Function0<TAccumulate> accumulatorInitializer() -
accumulatorAdder
Function2<TAccumulate,TSource, accumulatorAdder()TAccumulate> -
singleGroupResultSelector
Function1<TAccumulate,TResult> singleGroupResultSelector(Function1<TOrigAccumulate, TResult> resultSelector) -
resultSelector
Function2<TKey,TAccumulate, resultSelectorTResult> (Function2<TKey, TOrigAccumulate, TResult> resultSelector)
-