Class Accumulate
Represents an operator that computes the cumulative sum of an observable sequence and returns each intermediate result.
The Accumulate operator returns the current value of the cumulative sum each time the source sequence emits a notification. The result sequence terminates successfully when the source sequence terminates successfully.
Examples
Use Accumulate to compute the running sum of a sequence of periodic values.
Related Operators
Use Sum instead to yield a single accumulated value at the end of a sequence.
public class Accumulate : SingleArgumentExpressionBuilder, IExpressionBuilder
- Inheritance
-
Accumulate
- Implements
- Inherited Members
- Extension Methods
Methods
- Build(IEnumerable<Expression>)
Constructs an Expression node from a collection of input arguments. The result can be chained with other builders in a workflow.