ListExtensions.Reducer<TSum, TItem>
Delegate in Zigurous.Architecture
Declaration
public delegate TSum Reducer<TSum, TItem>(TSum sum, TItem item);
Description
A function delegate that reduces a list into a single value.
Type Parameters
TSum | The type of the reduced value. |
TItem | The type of items in the list. |
Parameters
sum | The current sum. |
item | The current item being reduced. |
Returns
T | The reduced value. |