Table of Contents

Class Accumulate

Namespace
Bonsai.Reactive
Assembly
Bonsai.Core.dll

Represents an operator that computes the cumulative sum of an observable sequence and returns each intermediate result.

Marble diagram

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.

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.

public override Expression Build(IEnumerable<Expression> arguments)

Parameters

arguments IEnumerable<Expression>

A collection of Expression nodes representing the input arguments.

Returns

Expression

The constructed Expression node.