public override string ToString() { return("{ Bytes: " + System.Text.Encoding.Default.GetString(GetBytes()) + ", OldBytes: " + System.Text.Encoding.Default.GetString(GetOldBytes()) + ", Start: " + start.ToString() + ", Action: " + action.ToString() + " }"); }
/// <summary> /// Returns a description of undo action. /// </summary> /// <param name="action">The undo manager.</param> /// <returns> /// A description of undo action. /// </returns> private string GetUndoActionDescription(UndoAction action) { return(action.ToString()); }