Table of Contents

Constructor ElementAccumulation

Namespace
Bonsai.Reactive
Assembly
Bonsai.Core.dll

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 TAccumulation

The current state of the accumulator.

value TElement

The current value of the sequence to accumulate.