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

            return recordList;
        }
Beispiel #2
0
        public List <Record> FindTextInSingleFile(SearchWords words)
        {
            var recordList = new List <Record>();

            foreach (var result in words.Word.Select(FindLineNumberAndPosition))
            {
                recordList.AddRange(result);
            }

            return(recordList);
        }