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/v27/index.html | 131 +++++++++++++++++++++ 1 file changed, 131 insertions(+) create mode 100644 ThirdParty/CsvHelper-master/docs/migration/v27/index.html (limited to 'ThirdParty/CsvHelper-master/docs/migration/v27/index.html') diff --git a/ThirdParty/CsvHelper-master/docs/migration/v27/index.html b/ThirdParty/CsvHelper-master/docs/migration/v27/index.html new file mode 100644 index 0000000..aecfe4d --- /dev/null +++ b/ThirdParty/CsvHelper-master/docs/migration/v27/index.html @@ -0,0 +1,131 @@ + + + + + + + + + + + + + + + + + + + + + + + V27 | CsvHelper + + + + + + + + + + + + + + + + +
+
+
+
+

Migrating from version 26 to 27

+

CsvConfiguration.WhiteSpaceChars

+
    +
  • Removed \t from the array of default characters.
  • +
+

If you are expecting \t to be trimmed, you will need to add this to the +whitespace characters.

+
var config = new CsvConfiguration(CultureInfo.InvariantCulture)
+{
+	WhiteSpaceChars = new[] { ' ', '\t' },
+};
+
+

IParserConfiguration

+
    +
  • Added property bool DetectDelimiter { get; }.
  • +
  • Added property string[] DetectDelimiterValues { get; }.
  • +
+

Any class that implements IParserConfiguration will need these changes +applied to it.

+

IWriter

+
    +
  • Added method Task WriteRecordsAsync<T>(IAsyncEnumerable<T> records, CancellationToken cancellationToken = default). +This does not apply to projects that reference the net45 version of CsvHelper.
  • +
+

Any class that implements IWriter will need these changes applied to it.

+

IParser

+
    +
  • Added property string Delimiter { get; }.
  • +
+

Any class that implements IParser will need these changes applied to it.

+ +
+
+
+
+ +

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