From 2a1cd4fda8a4a8e649910d16b4dfa1ce7ae63543 Mon Sep 17 00:00:00 2001 From: chai <215380520@qq.com> Date: Fri, 12 May 2023 09:24:40 +0800 Subject: *misc --- .../CsvHelper-master/docs/migration/v30/index.html | 121 +++++++++++++++++++++ 1 file changed, 121 insertions(+) create mode 100644 ThirdParty/CsvHelper-master/docs/migration/v30/index.html (limited to 'ThirdParty/CsvHelper-master/docs/migration/v30/index.html') diff --git a/ThirdParty/CsvHelper-master/docs/migration/v30/index.html b/ThirdParty/CsvHelper-master/docs/migration/v30/index.html new file mode 100644 index 0000000..b693fd0 --- /dev/null +++ b/ThirdParty/CsvHelper-master/docs/migration/v30/index.html @@ -0,0 +1,121 @@ + + + + + + + + + + + + + + + + + + + + + + + V30 | CsvHelper + + + + + + + + + + + + + + + + +
+
+
+
+

Migrating from version 29 to 30

+

BadDataException constructor

+
// 29
+throw new BadDataException(context);
+
+// 30
+throw new BadDataException(field, rawRecord, context);
+
+

IParserConfiguration

+

Any class that implements IParserConfiguration will need to add property double MaxFixFieldSize { get; }. +Any class that implements IParserConfiguration will need to add property bool LeaveOpen { get; }.

+

IWriterConfiguration

+

ixFieldSize { get; }. Any class that implements IWriterConfigurationwill need to add propertybool LeaveO

+

ValidateArgs

+
// 29
+var args = new ValidateArgs(field);
+
+// 30
+var args = new ValidateArgs(field, row);
+
+ +
+
+
+
+ +

+ + + + + + + + + + + -- cgit v1.1-26-g67d0