private static int CountOfLinese(DiffResult result, DiffActionType action, int i) { var count = 0; while (i < result.LeftPan.Count) { if (result.LeftPan[i].Action == action || result.RightPan[i].Action == action) { count++; } else { break; } i++; } return(count); }
private int CountOfLinese(DiffActionType action, int i) { int count = 0; while (i < leftPan.Count) { if (leftPan[i].Action == action || rightPan[i].Action == action) { count++; } else { break; } i++; } return(count); }
private static int CountOfLinese(DiffResult result, DiffActionType action, int i) { var count = 0; while (i < result.LeftPan.Count) { if (result.LeftPan[i].Action == action || result.RightPan[i].Action == action) count++; else break; i++; } return count; }
private int CountOfLinese(DiffActionType action, int i) { int count = 0; while (i < leftPan.Count) { if (leftPan[i].Action == action || rightPan[i].Action == action) count++; else break; i++; } return count; }
public DiffLineData(string line, DiffActionType action, int lineNumber) { this.line = line; this.action = action; this.lineNumber = lineNumber; }
public DiffLineData(string line, DiffActionType action) { this.line = line; this.action = action; }
public DiffLineData(string line, DiffActionType action, int lineNumber) { Line = line.Replace("\t", " "); Action = action; LineNumber = lineNumber; }