public void Add(AmlSelectColumn column) { var existing = _children.FirstOrDefault(c => string.Equals(c.Name, column.Name)); if (existing != null) { foreach (var child in column.Children) { existing.Add(child); } } _children.Add(column); }
public void Add(AmlSelectColumn column) { var existing = _children.FirstOrDefault(c => string.Equals(c.Name, column.Name)); if (existing != null) { foreach (var child in column.Children) { existing.Add(child); } } _children.Add(column); }