Пример #1
0
	    /** @return a list describing the content edits performed on this file. */
	    public EditList toEditList()
        {
		    EditList r = new EditList();
		    foreach (HunkHeader hunk in hunks)
			    r.AddRange(hunk.toEditList());
		    return r;
	    }
Пример #2
0
 /// <summary>
 /// Returns a list describing the content edits performed on this file.
 /// </summary>
 /// <returns></returns>
 public EditList ToEditList()
 {
     var r = new EditList();
     _hunks.ForEach(hunk => r.AddRange(hunk.ToEditList()));
     return r;
 }