public void Add(System.Collections.Generic.IEnumerable <IFigure> figures, bool record) { if (record) { using (Transaction.Create(ActionManager, true)) { figures.ForEach(Add); } } else { figures.ForEach(AddWithoutRecord); } }
public void Remove(System.Collections.Generic.IEnumerable <IFigure> figures) { using (Transaction.Create(ActionManager, true)) { figures.ForEach(Remove); } }