Exemple #1
0
 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() + " }");
 }
Exemple #2
0
 /// <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());
 }