Class VariableArgumentExpressionBuilder
Provides a base class for expression builders that can have a variable number of input arguments. This is an abstract class.
Inheritance
VariableArgumentExpressionBuilder
Implements
Inherited Members
Namespace: Bonsai.Expressions
Assembly: Bonsai.Core.dll
Syntax
public abstract class VariableArgumentExpressionBuilder : ExpressionBuilder, IExpressionBuilder
Constructors
| Improve this Doc View SourceVariableArgumentExpressionBuilder(Int32, Int32)
Initializes a new instance of the VariableArgumentExpressionBuilder class with the specified argument range.
Declaration
protected VariableArgumentExpressionBuilder(int minArguments, int maxArguments)
Parameters
Type | Name | Description |
---|---|---|
Int32 | minArguments | The inclusive lower bound of the argument range. |
Int32 | maxArguments | The inclusive upper bound of the argument range. |
Properties
| Improve this Doc View SourceArgumentRange
Gets the range of input arguments that this expression builder accepts.
Declaration
public override Range<int> ArgumentRange { get; }
Property Value
Type | Description |
---|---|
Range<Int32> |
Overrides
Methods
| Improve this Doc View SourceSetArgumentRange(Int32, Int32)
Updates the argument range of the expression builder.
Declaration
protected void SetArgumentRange(int minArguments, int maxArguments)
Parameters
Type | Name | Description |
---|---|---|
Int32 | minArguments | The inclusive lower bound of the argument range. |
Int32 | maxArguments | The inclusive upper bound of the argument range. |