private void AddRedo(CommandWrapper tmpCommandWrapper) { redoList.Add(tmpCommandWrapper); }
private void AddUndo(CommandWrapper commandWrapper) { undoList.Add(commandWrapper); _cleanUpCount = ((_cleanUpCount < 0) && (redoList.Count > 0)) ? undoList.Count + redoList.Count + 1 : _cleanUpCount++; }