Ejemplo n.º 1
0
 /// <summary>
 /// Disposes of this object
 /// </summary>
 public void Dispose()
 {
     UndoRedoManager.Instance().EndTransaction(this);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Constructs a UndoTransaction
 /// </summary>
 /// <param name="name">The name of the action</param>
 public UndoTransaction(string name = "")
 {
     _name = name;
     UndoRedoManager.Instance().StartTransaction(this);
 }