C# CsvHelper-.CurrentRecord/.Context.Record在当前版本的CsvHelper中的替换

C# CsvHelper-.CurrentRecord/.Context.Record在当前版本的CsvHelper中的替换,c#,vb.net,csvhelper,C#,Vb.net,Csvhelper,对于当前的CsvHelper版本,如何获取过去可以使用的字符串(): csv.CurrentRecord()->旧版本 csv.Context.Record()->最新版本 能够从CurrentRecord到Context.Record进行查找,但在当前版本中似乎不起作用。我想我找到了答案: csv.Context.Parser.Record 在存储库的问题中找到注释,说明.Context中的大多数方法已分发给.Parser和.Reader

对于当前的CsvHelper版本,如何获取过去可以使用的字符串():

  • csv.CurrentRecord()->旧版本

  • csv.Context.Record()->最新版本


能够从CurrentRecord到Context.Record进行查找,但在当前版本中似乎不起作用。

我想我找到了答案:

csv.Context.Parser.Record

在存储库的问题中找到注释,说明.Context中的大多数方法已分发给.Parser和.Reader