public void Dispose()
 {
     UndoRedoManager.Instance().EndTransaction(this);
 }
 public UndoTransaction(string name = "")
 {
     _Name = name;
     UndoRedoManager.Instance().StartTransaction(this);
 }