Esempio n. 1
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);
        }
Esempio n. 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;
 }