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

            using (var stream = File.OpenRead(location))
            {
                return(_engine.Read <T>(stream).ToList());
            }
        }