Ejemplo n.º 1
0
 /// <summary>
 /// Merges the UndoStack with given UndoRedoStack's UndoStack.
 /// </summary>
 /// <param name="urs">Foreign UndoRedoStack to add to top of UndoStack</param>
 public void MergeURStack(UndoRedoStack urs)
 {
     if (urs == null)
     {
         throw new ArgumentNullException(nameof(urs));
     }
     UndoStack.AppendToTop(urs.UndoStack);
 }
 /// <summary>
 /// Merges the UndoStack with given UndoRedoStack's UndoStack.
 /// </summary>
 /// <param name="urs">Foreign UndoRedoStack to add to top of UndoStack</param>
 public void MergeURStack(UndoRedoStack urs)
 {
     UndoStack.AppendToTop(urs.UndoStack);
 }