/// <summary> /// Initializes a new instance of the <see cref="UndoRedoText"/> class. /// </summary> /// <param name="prevText">Prev Text.</param> /// <param name="newText">Cur Text.</param> /// <param name="refCell">Reference Cell.</param> public UndoRedoText(string prevText, string newText, ref SpreadsheetCellValue refCell) { this.prevText = prevText; this.newText = newText; this.refCell = refCell; }
/// <summary> /// Initializes a new instance of the <see cref="UndoRedoBGColor"/> class. /// </summary> /// <param name="prevColor">Prev Color.</param> /// <param name="newColor">Cur Color.</param> /// <param name="refCell">Reference Cell.</param> public UndoRedoBGColor(uint prevColor, uint newColor, ref SpreadsheetCellValue refCell) { this.prevColor = prevColor; this.newColor = newColor; this.refCell = refCell; }