Table of Contents

Class UnknownTypeBuilder

Namespace
Bonsai.Expressions
Assembly
Bonsai.Core.dll

Represents an expression builder that is a proxy for an unknown type.

Important

Unknown types are created when the compiler is unable to resolve a type reference specified in the workflow. This is usually caused by a missing package that needs to be installed, but sometimes it might also indicate missing native dependencies required by the package. Please refer to the specific package documentation for guidance when debugging unknown types.

public abstract class UnknownTypeBuilder : ExpressionBuilder, IExpressionBuilder
Inheritance
UnknownTypeBuilder
Implements
Inherited Members
Extension Methods

Properties

ArgumentRange

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

public override Range<int> ArgumentRange { get; }

Property Value

Range<int>

PropertiesXml

Gets or sets the XML representation of externalized property values from the unknown type.

[Browsable(false)]
public XElement[] PropertiesXml { get; set; }

Property Value

XElement[]

Methods

Build(IEnumerable<Expression>)

Throws a NotImplementedException by design in order to indicate the current builder is a proxy for an unknown type.

public override Expression Build(IEnumerable<Expression> arguments)

Parameters

arguments IEnumerable<Expression>

A collection of Expression nodes that represents the input arguments.

Returns

Expression

This method never returns.

Exceptions

NotImplementedException

This method always throws this exception, by design.