예제 #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);
 }
예제 #2
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)
 {
     UndoStack.AppendToTop(urs.UndoStack);
 }