Class Pin
A pin is a connection point where Node instances can be connected to each others. Pin connections carry values of certain types. There are InPin<T>s and OutPin<T>s. One out-pin can be connected to one or more in-pins but each in-pin can only be connected to one out-pin.
Inherited Members
Namespace: Fusee.Xirkit
Assembly: Fusee.Xirkit.dll
Syntax
public class Pin
Remarks
This class contains base implementations similar on all pin types, no matter which type its value is or whether it's an in- or an out-pin. It is a building block to create various pin types used within Xirkit.
Constructors
Pin(Node, String)
Initializes a new instance of the Pin class.
Declaration
public Pin(Node n, string member)
Parameters
Type | Name | Description |
---|---|---|
Node | n | The node this pin should belong to. |
System.String | member | The name of the member or the member chain within the object hosted by the node n. |
Properties
Member
Gets the name of the member or the member chain.
Declaration
public string Member { get; }
Property Value
Type | Description |
---|---|
System.String | The member' name. |
N
Gets the Node this pin is accessing.
Declaration
public Node N { get; }
Property Value
Type | Description |
---|---|
Node | The Node. |