Class ExpressionBuilderArgument
- Namespace
- Bonsai.Expressions
- Assembly
- Bonsai.Core.dll
Represents a workflow argument assignment. This class determines the index of a workflow connection and is used to specify the order of input connections to any given node.
[TypeConverter("Bonsai.Design.ExpressionBuilderArgumentTypeConverter, Bonsai.Design")]
public class ExpressionBuilderArgument : IEquatable<ExpressionBuilderArgument>, IComparable<ExpressionBuilderArgument>, IComparable
- Inheritance
-
ExpressionBuilderArgument
- Implements
- Inherited Members
Constructors
- ExpressionBuilderArgument()
Initializes a new instance of the ExpressionBuilderArgument class.
- ExpressionBuilderArgument(int)
Initializes a new instance of the ExpressionBuilderArgument class with the specified argument index.
- ExpressionBuilderArgument(string)
Initializes a new instance of the ExpressionBuilderArgument class with the specified argument name.
Fields
- ArgumentNamePrefix
The prefix that starts every input argument name.
Properties
- Index
Gets or sets the zero-based index of the input argument.
- Name
Gets or sets the name of the input argument. Arbitrary named arguments are not supported, so all names must start with the ArgumentNamePrefix followed by the one-based argument index.
Methods
- CompareTo(ExpressionBuilderArgument)
Compares the current object with another object of the same type.
- Equals(ExpressionBuilderArgument)
Indicates whether the specified argument is equal to the current argument.
- Equals(object)
Returns a value indicating whether this instance is equal to a specified object.
- GetHashCode()
Returns the hash code for this instance.
- ToString()
Returns a string that represents the current object.
Operators
- operator ==(ExpressionBuilderArgument, ExpressionBuilderArgument)
Tests whether two ExpressionBuilderArgument instances are equal.
- operator >(ExpressionBuilderArgument, ExpressionBuilderArgument)
Tests whether an ExpressionBuilderArgument object is greater than another object of the same type.
- operator !=(ExpressionBuilderArgument, ExpressionBuilderArgument)
Tests whether two ExpressionBuilderArgument instances are different.
- operator <(ExpressionBuilderArgument, ExpressionBuilderArgument)
Tests whether an ExpressionBuilderArgument object is less than another object of the same type.