Exemplo 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);
        }
Exemplo 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;
 }