Esempio n. 1
0
 /// <summary>
 /// Assing a new id for this node
 /// </summary>
 public void SetID()
 {
     id = System.Guid.NewGuid().ToString();
     if (InputPort != null)
     {
         InputPort.ClearOutput();
         InputPort.SetParent(this);
     }
     for (int i = 0; i < OutputPorts.Length; i++)
     {
         OutputPorts[i].ClearAll(true);
         OutputPorts[i].SetParent(this);
     }
 }