Ejemplo n.º 1
0
 private static IDiff[] makediffs(string original, string[] changed, IComparer comparer)
 {
     IDiff[] diffs = new IDiff[changed.Length];
     for (int i = 0; i < changed.Length; i++)
     {
         diffs[i] = new TextDiff(original, changed[i], comparer);
     }
     return(diffs);
 }
Ejemplo n.º 2
0
		private static IDiff[] makediffs(string original, string[] changed, IComparer comparer) {
			IDiff[] diffs = new IDiff[changed.Length];
			for (int i = 0; i < changed.Length; i++)
				diffs[i] = new TextDiff(original, changed[i], comparer);
			return diffs;
		}