Class ExpressionBuilderArgumentDescriptor
- Namespace
- Bonsai.Expressions
- Assembly
- Bonsai.Core.dll
Represents a serializable descriptor of an edge connecting two nodes in an expression builder graph.
public class ExpressionBuilderArgumentDescriptor
- Inheritance
-
ExpressionBuilderArgumentDescriptor
- Inherited Members
Constructors
ExpressionBuilderArgumentDescriptor()
Initializes a new instance of the ExpressionBuilderArgumentDescriptor class.
public ExpressionBuilderArgumentDescriptor()
ExpressionBuilderArgumentDescriptor(int, int, string)
Initializes a new instance of the ExpressionBuilderArgumentDescriptor class with the specified indices for source and target nodes and a label value.
public ExpressionBuilderArgumentDescriptor(int from, int to, string label)
Parameters
from
intThe zero-based index of the node that is the source of the edge.
to
intThe zero-based index of the node that is the target of the edge.
label
stringThe value of the edge label.
Properties
From
Gets or sets the zero-based index of the node that is the source of the edge.
public int From { get; set; }
Property Value
Label
Gets or sets the value of the edge label.
public string Label { get; set; }
Property Value
To
Gets or sets the zero-based index of the node that is the target of the edge.
public int To { get; set; }