Esempio n. 1
0
 public IEnumerable <IRow> ReadRows(Stream stream)
 {
     using (var reader = new System.IO.StreamReader(stream, fileMetaData.Encoding))
     {
         string line;
         while ((line = reader.ReadRow(fileMetaData)) != null)
         {
             yield return(rowFactory.CreateRow(tokenizer.Split(line), fileMetaData.Fields));
         }
     }
 }