summaryrefslogtreecommitdiff
path: root/ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/migration/v30/index.md
diff options
context:
space:
mode:
Diffstat (limited to 'ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/migration/v30/index.md')
-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);
+```