forked from forcewake/FlatFile
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
When using MultiRecordFlatFileEngine, the record type selector Func is given two arguments - the current line, and a parameter called lineNumber. Because lineNumber isn't incremented unless the selector returns a layout and parses the line, lineNumber ends up being the number of lines successfully parsed rather than the line number in the file. Is lineNumber intended to have this meaning, and if it is, would it be possible to introduce a way to get at the actual line number in the file? I have some ideas for how to do this, but I'm not sure if this was intended or not.
Relevant code is between lines 117 and 125 in MultiRecordFlatFileEngine.cs.
Thanks
Metadata
Metadata
Assignees
Labels
No labels