public void AddChild(PBXBaseObject obj) { if (obj == null) { return; } if (ChildrenIDs.Contains(obj.UID)) { return; } _children.Add(obj); ChildrenUIDs.Add(obj.UID); }
public void RemoveAllChildren() { ChildrenUIDs.Clear(); }