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