public IList <CustomObject> FluentFiles() { using (var streamReader = new StringReader(_records)) { return(_fluentEngine.Read <CustomObject>(streamReader).ToList()); } }
public IList <FixedSampleRecord> FluentFiles() { using (var stream = new StringReader(_records)) { return(_fluentEngine.Read <FixedSampleRecord>(stream).ToArray()); } }
public IEnumerable <T> Get(string location) { NormalizeLineLength(new FileInfo(location)); using (var stream = File.OpenRead(location)) { return(_engine.Read <T>(stream).ToList()); } }