Class ExpressionTransform
- Namespace
- Bonsai.Scripting.Expressions
- Assembly
- Bonsai.Scripting.Expressions.dll
Represents an operator that uses an expression script to transform each element of an observable sequence.
[WorkflowElementCategory(ElementCategory.Transform)]
public class ExpressionTransform : SingleArgumentExpressionBuilder, IExpressionBuilder, INamedElement
- Inheritance
-
ExpressionTransform
- Implements
- Inherited Members
- Extension Methods
Properties
Description
Gets or sets a description for the expression transform.
[Externalizable(false)]
public string Description { get; set; }
Property Value
Expression
Gets or sets the expression that determines the operation of the transform.
public string Expression { get; set; }
Property Value
Name
Gets or sets the name of the expression transform.
[Externalizable(false)]
public string Name { get; set; }
Property Value
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.