Constructor ElementAccumulation
ElementAccumulation(TAccumulation, TElement)
Initializes a new instance of the ElementAccumulation<TAccumulation, TElement> class with the specified accumulator state and current element information.
public ElementAccumulation(TAccumulation accumulation, TElement value)
Parameters
accumulation
TAccumulationThe current state of the accumulator.
value
TElementThe current value of the sequence to accumulate.