CodeOwls.TxF.TxFContentReader.Read C# (CSharp) Метод

Read() публичный Метод

public Read ( long readCount ) : IList
readCount long
Результат IList
        public IList Read(long readCount)
        {
            using (var scope = new TransactionScope())
            {
                var list = new ArrayList();
                while( 0 < readCount-- )
                {
                    var line = _reader.ReadLine();
                    if (null == line)
                    {
                        continue;
                    }
                    list.Add(line);
                }
                scope.Complete();
                return list;
            }
        }