mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Use SeparatedValueReader, add all fields
This commit is contained in:
@@ -45,6 +45,11 @@ namespace SabreTools.Library.Readers
|
||||
/// </summary>
|
||||
public List<string> Line { get; private set; } = null;
|
||||
|
||||
/// <summary>
|
||||
/// Get the current line number
|
||||
/// </summary>
|
||||
public long LineNumber { get; private set; } = -1;
|
||||
|
||||
/// <summary>
|
||||
/// Assume that values are wrapped in quotes
|
||||
/// </summary>
|
||||
@@ -99,6 +104,7 @@ namespace SabreTools.Library.Readers
|
||||
return false;
|
||||
|
||||
string fullLine = sr.ReadLine();
|
||||
LineNumber++;
|
||||
|
||||
// If we have quotes, we need to split specially
|
||||
if (Quotes)
|
||||
|
||||
Reference in New Issue
Block a user