Table of Contents

Class ConvertTimestamped

Namespace
Bonsai.Harp
Assembly
Bonsai.Harp.dll

Represents an expression builder which converts a timestamped payload value into a new form while keeping the original timestamp.

public class ConvertTimestamped : WorkflowExpressionBuilder, IWorkflowExpressionBuilder, INamedElement, IPropertyMappingBuilder, IExpressionBuilder
Inheritance
ConvertTimestamped
Implements
Inherited Members

Constructors

ConvertTimestamped()

Initializes a new instance of the ConvertTimestamped class.

public ConvertTimestamped()

ConvertTimestamped(ExpressionBuilderGraph)

Initializes a new instance of the ConvertTimestamped class with the specified expression builder workflow.

public ConvertTimestamped(ExpressionBuilderGraph workflow)

Parameters

workflow ExpressionBuilderGraph

The expression builder workflow instance that will be used by this builder to generate the output expression tree.

Properties

ArgumentRange

Gets the range of input arguments that this expression builder accepts.

public override Range<int> ArgumentRange { get; }

Property Value

Range<int>

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.