/// <summary> /// Gets text of next column available. /// </summary> /// <returns>Return the text of next column available.</returns> public string ReadNextText() { if (_currentLine is null) { NextLine(); } return(_currentLine.NextText()); }
private IDictionary <string, string> ReadCurrentLine() { var obj = new Dictionary <string, string>(); if (_currentLine is null) { NextLine(); } string headerWord = _header.NextText(); while (headerWord != string.Empty) { obj.Add(headerWord, _currentLine.GetText(_header.GetPosition(headerWord))); headerWord = _header.NextText(); } return(obj); }