Exemple #1
0
 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);
     }
 }
Exemple #2
0
 public void Remove(System.Collections.Generic.IEnumerable <IFigure> figures)
 {
     using (Transaction.Create(ActionManager, true))
     {
         figures.ForEach(Remove);
     }
 }