Esempio n. 1
0
        public List <string> CreateHeader()
        {
            List <string>          header   = new List <string>();
            GetNextLineFromTheFile nextLine = new GetNextLineFromTheFile(filePath);

            for (int i = 0; i < 5; i++)
            {
                header.Add(nextLine.GetLine());
            }
            nextLine.CloseStream();
            return(header);
        }
Esempio n. 2
0
 public RecordFactory(string filePath)
 {
     this.filePath = filePath;
     getNextLine   = new GetNextLineFromTheFile(this.filePath);
 }