Esempio n. 1
0
        public void AddChild(PBXBaseObject obj)
        {
            if (obj == null)
            {
                return;
            }

            if (ChildrenIDs.Contains(obj.UID))
            {
                return;
            }

            _children.Add(obj);
            ChildrenUIDs.Add(obj.UID);
        }
Esempio n. 2
0
 public void RemoveAllChildren()
 {
     ChildrenUIDs.Clear();
 }