Exemplo n.º 1
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="root">The block object thar contains this node</param>
 /// <param name="name">Name</param>
 /// <param name="shortName">Short name</param>
 protected BlockNodeBase(ref BlockBase root, string name, string shortName)
 {
     Root           = root;
     Name           = name;
     ShortName      = shortName;
     ConnectingNode = null;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Connect this input node to another node in other block
 /// </summary>
 /// <param name="node"></param>
 public void ConnectTo(ref BlockNodeBase node)
 {
     ConnectingNode      = node;
     node.ConnectingNode = this;
 }