Table of Contents

Class PythonSelectMany

Namespace
Bonsai.Scripting.IronPython
Assembly
Bonsai.Scripting.IronPython.dll

Represents an operator that uses a Python script to project each element of an observable sequence into multiple elements.

[WorkflowElementCategory(ElementCategory.Combinator)]
public class PythonSelectMany : SingleArgumentExpressionBuilder, IExpressionBuilder, INamedElement
Inheritance
PythonSelectMany
Implements
Inherited Members
Extension Methods

Constructors

PythonSelectMany()

Initializes a new instance of the PythonSelectMany class.

public PythonSelectMany()

Properties

Description

Gets or sets a description for the python operator.

[Externalizable(false)]
public string Description { get; set; }

Property Value

string

Name

Gets or sets the name of the python operator.

[Externalizable(false)]
public string Name { get; set; }

Property Value

string

Script

Gets or sets the script that determines how each element is projected into a sequence of elements.

public string Script { get; set; }

Property Value

string

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.