示例#1
0
        }         // ExtractAndProcess

        private void ProcessFileContent(StreamReader rdr, DateTime time)
        {
            var pc = new ProgressCounter("{0} lines processed.", this.log, 25000UL);

            for ( ; ;)
            {
                string line = rdr.ReadLine();

                if (line == null)
                {
                    break;
                }

                ProcessLine(line, time);
                pc.Next();
            }             // for

            pc.Log();

            rdr.Dispose();
        }         // ProcessFileContent