Table of Contents

Class ConvertToArray

Namespace
Bonsai.Dsp
Assembly
Bonsai.Dsp.dll

Represents an operator that converts each array or collection in the sequence into a managed array.

[WorkflowElementCategory(ElementCategory.Transform)]
public class ConvertToArray : SelectBuilder, IExpressionBuilder
Inheritance
ConvertToArray
Implements
Inherited Members
Extension Methods

Properties

Depth

Gets or sets the bit depth of each element in the input array.

[TypeConverter(typeof(DepthConverter))]
public Depth? Depth { get; set; }

Property Value

Depth?

Remarks

If this property is not specified, the default depth will be automatically selected based on the type of the input array elements.

Methods

BuildSelector(Expression)

Returns the expression that maps the array or collection into a managed array.

protected override Expression BuildSelector(Expression expression)

Parameters

expression Expression

The input parameter to the selector.

Returns

Expression

The Expression that maps the input parameter to the selector result.