Esempio n. 1
0
 static private void AddSafe(ref List <SignalBase> signals, SignalBase item)
 {
     if (signals == null)
     {
         signals = new List <SignalBase>();
     }
     signals.Add(item);
 }
Esempio n. 2
0
 protected void AddParent(SignalBase parent)
 {
     AddSafe(ref _parents, parent);
     AddSafe(ref parent._children, this);
 }