void UpdateChildrenArray() { lock (children) { children.Clear(); if (additionalChildren.Count != 0) { children.AddRange(additionalChildren); } if (_In != null) { children.AddRange(_In.Declarations); } if (_Body != null) { children.AddRange(_Body.Declarations); } if (_Out != null) { children.AddRange(_Out.Declarations); } } }
public void AddRange(IEnumerable <INode> Nodes) { _Children.AddRange(Nodes); }