summaryrefslogtreecommitdiff
path: root/ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/migration/v30
diff options
context:
space:
mode:
authorchai <215380520@qq.com>2023-05-12 09:24:40 +0800
committerchai <215380520@qq.com>2023-05-12 09:24:40 +0800
commit2a1cd4fda8a4a8e649910d16b4dfa1ce7ae63543 (patch)
treea471fafed72e80b4ac3ac3002e06c34220dd6058 /ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/migration/v30
parentb8a694746562b37dc8dc5b8b5aec8612bb0964fc (diff)
*misc
Diffstat (limited to 'ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/migration/v30')
-rw-r--r--ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/migration/v30/index.md31
1 files changed, 31 insertions, 0 deletions
diff --git a/ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/migration/v30/index.md b/ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/migration/v30/index.md
new file mode 100644
index 0000000..2c324f5
--- /dev/null
+++ b/ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/migration/v30/index.md
@@ -0,0 +1,31 @@
+# Migrating from version 29 to 30
+
+## BadDataException constructor
+
+```cs
+// 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 `IWriterConfiguration` will need to add property `bool LeaveO
+
+## ValidateArgs
+
+```cs
+// 29
+var args = new ValidateArgs(field);
+
+// 30
+var args = new ValidateArgs(field, row);
+```