示例#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));
         }
     }
 }
示例#2
0
        public void DefaultAscending()
        {
            var row = rowFactory.CreateRow(fields, fileMetaData.Fields);

            Ascending(row);
        }