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