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