【发布时间】:2021-05-25 09:52:13
【问题描述】:
对于当前的CsvHelper版本,你以前能用的string()怎么弄:
-
csv.CurrentRecord() -> 旧版本。
-
csv.Context.Record() -> 更新的版本。
能够从 CurrentRecord 到 Context.Record 找到 info on the change,但这在当前版本中似乎不起作用。
【问题讨论】:
对于当前的CsvHelper版本,你以前能用的string()怎么弄:
csv.CurrentRecord() -> 旧版本。
csv.Context.Record() -> 更新的版本。
能够从 CurrentRecord 到 Context.Record 找到 info on the change,但这在当前版本中似乎不起作用。
【问题讨论】:
我想我找到了答案:
csv.Context.Parser.Record
在 Repository 的问题中发现注释说明 .Context 中的大多数方法已分发到 .Parser 和 .Reader。
【讨论】: