Esempio n. 1
0
 public override string ToString()
 {
     System.IO.StringWriter w = new System.IO.StringWriter();
     UnifiedDiff.WriteUnifiedDiff(this, w);
     return(w.ToString());
 }
Esempio n. 2
0
 public Diff(string leftFile, string rightFile, bool caseSensitive, bool compareWhitespace)
     : this(
         UnifiedDiff.LoadFileLines(leftFile), UnifiedDiff.LoadFileLines(rightFile), caseSensitive,
         compareWhitespace)
 {
 }