ITabularFileReader.cs 434 B

1234567891011121314151617181920212223
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace InABox.Scripting
  7. {
  8. public interface ITabularFileReader
  9. {
  10. Dictionary<string, int> Columns { get; set; }
  11. bool EndOfData { get; }
  12. bool ReadHeader();
  13. bool SkipLine();
  14. Dictionary<string, object?> ReadLine();
  15. IList<string> ReadLineValues();
  16. }
  17. }