public List<Record> FindTextInSingleFile(SearchWords words) { var recordList = new List<Record>(); foreach (var result in words.Word.Select(FindLineNumberAndPosition)) { recordList.AddRange(result); } return recordList; }
public List <Record> FindTextInSingleFile(SearchWords words) { var recordList = new List <Record>(); foreach (var result in words.Word.Select(FindLineNumberAndPosition)) { recordList.AddRange(result); } return(recordList); }