Esempio n. 1
0
        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);
                }
            }
        }
Esempio n. 2
0
 public void AddRange(IEnumerable <INode> Nodes)
 {
     _Children.AddRange(Nodes);
 }