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
accumulationTAccumulationThe current state of the accumulator.
valueTElementThe current value of the sequence to accumulate.