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 --- ThirdParty/CsvHelper-master/.editorconfig | 124 + ThirdParty/CsvHelper-master/.gitignore | 11 + ThirdParty/CsvHelper-master/CsvHelper.sln | 146 + .../CsvHelper-master/CsvHelper.sln.licenseheader | 32 + .../CsvHelper-master/CsvHelper.v3.ncrunchsolution | 7 + .../CsvHelper-master/CsvHelperDependencies.linq | 8 + ThirdParty/CsvHelper-master/GitVersion.yml | 11 + ThirdParty/CsvHelper-master/LICENSE.txt | 104 + ThirdParty/CsvHelper-master/README.markdown | 77 + ThirdParty/CsvHelper-master/Unity Build.bat | 5 + ThirdParty/CsvHelper-master/build.cmd | 7 + ThirdParty/CsvHelper-master/build.ps1 | 69 + ThirdParty/CsvHelper-master/build.sh | 62 + ThirdParty/CsvHelper-master/build/.editorconfig | 11 + ThirdParty/CsvHelper-master/build/Build.cs | 156 + ThirdParty/CsvHelper-master/build/Configuration.cs | 16 + .../CsvHelper-master/build/Directory.Build.props | 8 + .../CsvHelper-master/build/Directory.Build.targets | 8 + ThirdParty/CsvHelper-master/build/_build.csproj | 42 + .../build/_build.csproj.DotSettings | 23 + .../build/_build.v3.ncrunchproject | 5 + .../CsvHelper.DocsGenerator/ConsoleHost.cs | 117 + .../CsvHelper.DocsGenerator.csproj | 17 + .../CsvHelper.DocsGenerator/EncodingType.cs | 14 + .../docs-src/CsvHelper.DocsGenerator/Extensions.cs | 459 + .../Formatters/HtmlFormatter.cs | 94 + .../CsvHelper.DocsGenerator/Formatters/Symbols.cs | 18 + .../Formatters/XmlDocFormatter.cs | 100 + .../Generators/AssemblyGenerator.cs | 22 + .../Generators/DocumentGenerator.cs | 42 + .../Generators/DocumentGeneratorFactory.cs | 22 + .../Generators/NamespaceGenerator.cs | 50 + .../Generators/TypeGenerator.cs | 118 + .../CsvHelper.DocsGenerator/Infos/AssemblyInfo.cs | 30 + .../Infos/ConstructorInfo.cs | 20 + .../docs-src/CsvHelper.DocsGenerator/Infos/Info.cs | 105 + .../CsvHelper.DocsGenerator/Infos/MethodInfo.cs | 25 + .../CsvHelper.DocsGenerator/Infos/NamespaceInfo.cs | 49 + .../CsvHelper.DocsGenerator/Infos/PropertyInfo.cs | 24 + .../CsvHelper.DocsGenerator/Infos/TypeInfo.cs | 93 + .../CsvHelper.DocsGenerator/LinkGenerator.cs | 19 + .../docs-src/CsvHelper.DocsGenerator/Program.cs | 18 + .../docs-src/CsvHelper.DocsGenerator/Startup.cs | 110 + .../docs-src/CsvHelper.DocsGenerator/XmlDocs.cs | 12 + ThirdParty/CsvHelper-master/docs/.nojekyll | 0 ThirdParty/CsvHelper-master/docs/api/index.html | 102 + ThirdParty/CsvHelper-master/docs/browserconfig.xml | 11 + .../CsvHelper-master/docs/change-log/index.html | 1808 +++ .../examples/configuration/attributes/index.html | 472 + .../class-maps/auto-mapping/index.html | 462 + .../class-maps/constant-value/index.html | 464 + .../class-maps/ignoring-properties/index.html | 463 + .../examples/configuration/class-maps/index.html | 489 + .../class-maps/inline-type-conversion/index.html | 515 + .../mapping-by-alternate-names/index.html | 462 + .../class-maps/mapping-by-index/index.html | 465 + .../class-maps/mapping-by-name/index.html | 462 + .../class-maps/mapping-duplicate-names/index.html | 464 + .../class-maps/mapping-properties/index.html | 462 + .../class-maps/optional-maps/index.html | 464 + .../class-maps/type-conversion/index.html | 482 + .../configuration/class-maps/validation/index.html | 463 + .../docs/examples/configuration/index.html | 450 + .../docs/examples/csvdatareader/index.html | 460 + .../CsvHelper-master/docs/examples/index.html | 465 + .../docs/examples/prerequisites/index.html | 454 + .../reading-and-writing-files/index.html | 480 + .../docs/examples/prerequisites/streams/index.html | 453 + .../prerequisites/using-and-dispose/index.html | 444 + .../reading/enumerate-class-records/index.html | 457 + .../reading/get-anonymous-type-records/index.html | 451 + .../examples/reading/get-class-records/index.html | 452 + .../reading/get-dynamic-records/index.html | 446 + .../docs/examples/reading/index.html | 469 + .../examples/reading/reading-by-hand/index.html | 463 + .../reading/reading-multiple-data-sets/index.html | 514 + .../reading-multiple-record-types/index.html | 497 + .../custom-type-converter/index.html | 480 + .../docs/examples/type-conversion/index.html | 596 + .../type-converter-options/index.html | 450 + .../appending-to-an-existing-file/index.html | 476 + .../docs/examples/writing/index.html | 483 + .../write-anonymous-type-objects/index.html | 450 + .../writing/write-class-objects/index.html | 456 + .../writing/write-dynamic-objects/index.html | 454 + .../docs/favicons/android-icon-144x144.png | Bin 0 -> 2931 bytes .../docs/favicons/android-icon-192x192.png | Bin 0 -> 2944 bytes .../docs/favicons/android-icon-36x36.png | Bin 0 -> 1243 bytes .../docs/favicons/android-icon-48x48.png | Bin 0 -> 1425 bytes .../docs/favicons/android-icon-72x72.png | Bin 0 -> 1784 bytes .../docs/favicons/android-icon-96x96.png | Bin 0 -> 2116 bytes .../docs/favicons/apple-icon-114x114.png | Bin 0 -> 2447 bytes .../docs/favicons/apple-icon-120x120.png | Bin 0 -> 2498 bytes .../docs/favicons/apple-icon-144x144.png | Bin 0 -> 2931 bytes .../docs/favicons/apple-icon-152x152.png | Bin 0 -> 3040 bytes .../docs/favicons/apple-icon-180x180.png | Bin 0 -> 3523 bytes .../docs/favicons/apple-icon-57x57.png | Bin 0 -> 1525 bytes .../docs/favicons/apple-icon-60x60.png | Bin 0 -> 1577 bytes .../docs/favicons/apple-icon-72x72.png | Bin 0 -> 1784 bytes .../docs/favicons/apple-icon-76x76.png | Bin 0 -> 1813 bytes .../docs/favicons/apple-icon-precomposed.png | Bin 0 -> 3516 bytes .../CsvHelper-master/docs/favicons/apple-icon.png | Bin 0 -> 3516 bytes .../docs/favicons/favicon-16x16.png | Bin 0 -> 974 bytes .../docs/favicons/favicon-32x32.png | Bin 0 -> 1208 bytes .../docs/favicons/favicon-96x96.png | Bin 0 -> 2116 bytes .../CsvHelper-master/docs/favicons/favicon.ico | Bin 0 -> 1150 bytes .../docs/favicons/ms-icon-144x144.png | Bin 0 -> 2931 bytes .../docs/favicons/ms-icon-150x150.png | Bin 0 -> 3011 bytes .../docs/favicons/ms-icon-310x310.png | Bin 0 -> 7118 bytes .../docs/favicons/ms-icon-70x70.png | Bin 0 -> 1698 bytes .../docs/getting-started/index.html | 372 + .../docs/google6ad86f23ff698b61.html | 99 + ThirdParty/CsvHelper-master/docs/images/logo.svg | 89 + ThirdParty/CsvHelper-master/docs/index.html | 427 + ThirdParty/CsvHelper-master/docs/manifest.json | 41 + .../CsvHelper-master/docs/migration/index.html | 134 + .../CsvHelper-master/docs/migration/v10/index.html | 102 + .../CsvHelper-master/docs/migration/v11/index.html | 102 + .../CsvHelper-master/docs/migration/v12/index.html | 102 + .../CsvHelper-master/docs/migration/v13/index.html | 102 + .../CsvHelper-master/docs/migration/v14/index.html | 102 + .../CsvHelper-master/docs/migration/v15/index.html | 102 + .../CsvHelper-master/docs/migration/v16/index.html | 102 + .../CsvHelper-master/docs/migration/v17/index.html | 102 + .../CsvHelper-master/docs/migration/v18/index.html | 102 + .../CsvHelper-master/docs/migration/v19/index.html | 102 + .../CsvHelper-master/docs/migration/v2/index.html | 102 + .../CsvHelper-master/docs/migration/v20/index.html | 344 + .../CsvHelper-master/docs/migration/v21/index.html | 116 + .../CsvHelper-master/docs/migration/v22/index.html | 138 + .../CsvHelper-master/docs/migration/v23/index.html | 295 + .../CsvHelper-master/docs/migration/v24/index.html | 116 + .../CsvHelper-master/docs/migration/v25/index.html | 255 + .../CsvHelper-master/docs/migration/v26/index.html | 267 + .../CsvHelper-master/docs/migration/v27/index.html | 131 + .../CsvHelper-master/docs/migration/v28/index.html | 131 + .../CsvHelper-master/docs/migration/v29/index.html | 122 + .../CsvHelper-master/docs/migration/v3/index.html | 102 + .../CsvHelper-master/docs/migration/v30/index.html | 121 + .../CsvHelper-master/docs/migration/v4/index.html | 102 + .../CsvHelper-master/docs/migration/v5/index.html | 102 + .../CsvHelper-master/docs/migration/v6/index.html | 102 + .../CsvHelper-master/docs/migration/v7/index.html | 102 + .../CsvHelper-master/docs/migration/v8/index.html | 102 + .../CsvHelper-master/docs/migration/v9/index.html | 102 + ThirdParty/CsvHelper-master/docs/robots.txt | 1 + ThirdParty/CsvHelper-master/docs/scripts/header.js | 6 + .../CsvHelper-master/docs/scripts/sidebar.js | 41 + ThirdParty/CsvHelper-master/docs/sitemap.xml | 1 + ThirdParty/CsvHelper-master/docs/styles/base.css | 3 + .../CsvHelper-master/docs/styles/content.css | 1 + ThirdParty/CsvHelper-master/docs/styles/header.css | 1 + ThirdParty/CsvHelper-master/docs/styles/index.css | 21 + .../CsvHelper-master/docs/styles/sidebar.css | 13 + ThirdParty/CsvHelper-master/global.json | 6 + .../CsvHelper-master/logo/CSV Helper logo.ai | 4390 +++++++ .../CsvHelper-master/logo/CSV Helper logo.eps | 6154 ++++++++++ .../CsvHelper-master/logo/CSV Helper logo.png | Bin 0 -> 41981 bytes .../CsvHelper-master/logo/CSV Helper logo.svg | 89 + .../CsvHelper-master/logo/CSV-Helper-logo-Web.jpg | Bin 0 -> 32752 bytes .../CsvHelper-master/logo/CSV-Helper-logo-Web.png | Bin 0 -> 7614 bytes ThirdParty/CsvHelper-master/logo/Comma-Small.jpg | Bin 0 -> 3552 bytes ThirdParty/CsvHelper-master/logo/Comma-Small.png | Bin 0 -> 728 bytes ThirdParty/CsvHelper-master/logo/Comma.ai | 4401 +++++++ ThirdParty/CsvHelper-master/logo/Comma.eps | 5836 ++++++++++ ThirdParty/CsvHelper-master/logo/Comma.svg | 31 + .../CsvHelper.Performance.csproj | 20 + .../CsvHelper.Performance.v3.ncrunchproject | 5 + .../performance/CsvHelper.Performance/Program.cs | 409 + .../src/CsvHelper.Website/.gitignore | 1 + .../src/CsvHelper.Website/CsvHelper.Website.csproj | 16 + .../CsvHelper.Website.v3.ncrunchproject | 5 + .../src/CsvHelper.Website/Program.cs | 21 + .../src/CsvHelper.Website/README.md | 7 + .../src/CsvHelper.Website/TocItem.cs | 40 + .../src/CsvHelper.Website/input/.nojekyll | 0 .../src/CsvHelper.Website/input/Index.cshtml | 330 + .../CsvHelper.Website/input/Shared/_Footer.cshtml | 3 + .../CsvHelper.Website/input/Shared/_Header.cshtml | 35 + .../CsvHelper.Website/input/Shared/_Layout.cshtml | 87 + .../input/Shared/_Metadata.cshtml | 11 + .../CsvHelper.Website/input/Shared/_SideBar.cshtml | 9 + .../CsvHelper.Website/input/Shared/_TocItem.cshtml | 16 + .../input/Shared/_TocItems.cshtml | 11 + .../CsvHelper.Website/input/_ViewImports.cshtml | 10 + .../src/CsvHelper.Website/input/_ViewStart.cshtml | 3 + .../src/CsvHelper.Website/input/_manifest.yml | 1 + .../src/CsvHelper.Website/input/api/Index.md | 1 + .../src/CsvHelper.Website/input/browserconfig.xml | 11 + .../CsvHelper.Website/input/change-log/index.md | 1862 +++ .../input/examples/_directory.json | 160 + .../examples/configuration/attributes/index.md | 49 + .../configuration/class-maps/auto-mapping/index.md | 39 + .../class-maps/constant-value/index.md | 41 + .../class-maps/ignoring-properties/index.md | 40 + .../examples/configuration/class-maps/index.md | 16 + .../class-maps/inline-type-conversion/index.md | 100 + .../class-maps/mapping-by-alternate-names/index.md | 39 + .../class-maps/mapping-by-index/index.md | 41 + .../class-maps/mapping-by-name/index.md | 39 + .../class-maps/mapping-duplicate-names/index.md | 41 + .../class-maps/mapping-properties/index.md | 39 + .../class-maps/optional-maps/index.md | 42 + .../class-maps/type-conversion/index.md | 59 + .../configuration/class-maps/validation/index.md | 40 + .../input/examples/configuration/index.md | 7 + .../input/examples/csvdatareader/index.md | 38 + .../src/CsvHelper.Website/input/examples/index.md | 10 + .../input/examples/prerequisites/index.md | 9 + .../reading-and-writing-files/index.md | 65 + .../input/examples/prerequisites/streams/index.md | 29 + .../prerequisites/using-and-dispose/index.md | 21 + .../reading/enumerate-class-records/index.md | 34 + .../reading/get-anonymous-type-records/index.md | 28 + .../examples/reading/get-class-records/index.md | 27 + .../examples/reading/get-dynamic-records/index.md | 23 + .../input/examples/reading/index.md | 11 + .../examples/reading/reading-by-hand/index.md | 40 + .../reading/reading-multiple-data-sets/index.md | 90 + .../reading/reading-multiple-record-types/index.md | 74 + .../type-conversion/custom-type-converter/index.md | 58 + .../input/examples/type-conversion/index.md | 40 + .../type-converter-options/index.md | 27 + .../writing/appending-to-an-existing-file/index.md | 52 + .../input/examples/writing/index.md | 51 + .../writing/write-anonymous-type-objects/index.md | 26 + .../examples/writing/write-class-objects/index.md | 32 + .../writing/write-dynamic-objects/index.md | 30 + .../input/favicons/android-icon-144x144.png | Bin 0 -> 2931 bytes .../input/favicons/android-icon-192x192.png | Bin 0 -> 2944 bytes .../input/favicons/android-icon-36x36.png | Bin 0 -> 1243 bytes .../input/favicons/android-icon-48x48.png | Bin 0 -> 1425 bytes .../input/favicons/android-icon-72x72.png | Bin 0 -> 1784 bytes .../input/favicons/android-icon-96x96.png | Bin 0 -> 2116 bytes .../input/favicons/apple-icon-114x114.png | Bin 0 -> 2447 bytes .../input/favicons/apple-icon-120x120.png | Bin 0 -> 2498 bytes .../input/favicons/apple-icon-144x144.png | Bin 0 -> 2931 bytes .../input/favicons/apple-icon-152x152.png | Bin 0 -> 3040 bytes .../input/favicons/apple-icon-180x180.png | Bin 0 -> 3523 bytes .../input/favicons/apple-icon-57x57.png | Bin 0 -> 1525 bytes .../input/favicons/apple-icon-60x60.png | Bin 0 -> 1577 bytes .../input/favicons/apple-icon-72x72.png | Bin 0 -> 1784 bytes .../input/favicons/apple-icon-76x76.png | Bin 0 -> 1813 bytes .../input/favicons/apple-icon-precomposed.png | Bin 0 -> 3516 bytes .../input/favicons/apple-icon.png | Bin 0 -> 3516 bytes .../input/favicons/favicon-16x16.png | Bin 0 -> 974 bytes .../input/favicons/favicon-32x32.png | Bin 0 -> 1208 bytes .../input/favicons/favicon-96x96.png | Bin 0 -> 2116 bytes .../CsvHelper.Website/input/favicons/favicon.ico | Bin 0 -> 1150 bytes .../input/favicons/ms-icon-144x144.png | Bin 0 -> 2931 bytes .../input/favicons/ms-icon-150x150.png | Bin 0 -> 3011 bytes .../input/favicons/ms-icon-310x310.png | Bin 0 -> 7118 bytes .../input/favicons/ms-icon-70x70.png | Bin 0 -> 1698 bytes .../input/getting-started/_index.json | 24 + .../input/getting-started/index.md | 294 + .../input/google6ad86f23ff698b61.html | 1 + .../src/CsvHelper.Website/input/images/logo.svg | 89 + .../src/CsvHelper.Website/input/manifest.json | 41 + .../src/CsvHelper.Website/input/migration/index.md | 33 + .../CsvHelper.Website/input/migration/v10/index.md | 2 + .../CsvHelper.Website/input/migration/v11/index.md | 2 + .../CsvHelper.Website/input/migration/v12/index.md | 2 + .../CsvHelper.Website/input/migration/v13/index.md | 2 + .../CsvHelper.Website/input/migration/v14/index.md | 2 + .../CsvHelper.Website/input/migration/v15/index.md | 2 + .../CsvHelper.Website/input/migration/v16/index.md | 2 + .../CsvHelper.Website/input/migration/v17/index.md | 2 + .../CsvHelper.Website/input/migration/v18/index.md | 2 + .../CsvHelper.Website/input/migration/v19/index.md | 2 + .../CsvHelper.Website/input/migration/v2/index.md | 2 + .../CsvHelper.Website/input/migration/v20/index.md | 322 + .../CsvHelper.Website/input/migration/v21/index.md | 19 + .../CsvHelper.Website/input/migration/v22/index.md | 51 + .../CsvHelper.Website/input/migration/v23/index.md | 228 + .../CsvHelper.Website/input/migration/v24/index.md | 21 + .../CsvHelper.Website/input/migration/v25/index.md | 187 + .../CsvHelper.Website/input/migration/v26/index.md | 202 + .../CsvHelper.Website/input/migration/v27/index.md | 36 + .../CsvHelper.Website/input/migration/v28/index.md | 38 + .../CsvHelper.Website/input/migration/v29/index.md | 29 + .../CsvHelper.Website/input/migration/v3/index.md | 2 + .../CsvHelper.Website/input/migration/v30/index.md | 31 + .../CsvHelper.Website/input/migration/v4/index.md | 2 + .../CsvHelper.Website/input/migration/v5/index.md | 2 + .../CsvHelper.Website/input/migration/v6/index.md | 2 + .../CsvHelper.Website/input/migration/v7/index.md | 2 + .../CsvHelper.Website/input/migration/v8/index.md | 2 + .../CsvHelper.Website/input/migration/v9/index.md | 2 + .../src/CsvHelper.Website/input/robots.txt | 1 + .../src/CsvHelper.Website/input/scripts/header.js | 6 + .../src/CsvHelper.Website/input/scripts/sidebar.js | 41 + .../src/CsvHelper.Website/input/styles/base.scss | 10 + .../src/CsvHelper.Website/input/styles/bulma.scss | 121 + .../CsvHelper.Website/input/styles/content.scss | 4 + .../src/CsvHelper.Website/input/styles/header.scss | 9 + .../src/CsvHelper.Website/input/styles/index.scss | 8 + .../CsvHelper.Website/input/styles/sidebar.scss | 53 + .../src/CsvHelper.Website/lib/bulma/bulma-rtl.css | 11624 +++++++++++++++++++ .../CsvHelper.Website/lib/bulma/bulma-rtl.css.map | 1 + .../CsvHelper.Website/lib/bulma/bulma-rtl.min.css | 1 + .../src/CsvHelper.Website/lib/bulma/bulma.css | 11624 +++++++++++++++++++ .../src/CsvHelper.Website/lib/bulma/bulma.css.map | 1 + .../src/CsvHelper.Website/lib/bulma/bulma.min.css | 1 + .../src/CsvHelper.Website/settings.yml | 1 + .../CsvHelper-master/src/CsvHelper/ArrayHelper.cs | 78 + .../src/CsvHelper/BadDataException.cs | 67 + .../Attributes/AllowCommentsAttribute.cs | 35 + .../Attributes/BooleanFalseValuesAttribute.cs | 52 + .../Attributes/BooleanTrueValuesAttribute.cs | 52 + .../Attributes/BufferSizeAttribute.cs | 36 + .../Attributes/CacheFieldsAttribute.cs | 36 + .../Configuration/Attributes/CommentAttribute.cs | 36 + .../Configuration/Attributes/ConstantAttribute.cs | 47 + .../Attributes/CountBytesAttribute.cs | 45 + .../Attributes/CultureInfoAttribute.cs | 46 + .../Attributes/DateTimeStylesAttribute.cs | 44 + .../Configuration/Attributes/DefaultAttribute.cs | 45 + .../Configuration/Attributes/DelimiterAttribute.cs | 35 + .../DetectColumnCountChangesAttribute.cs | 40 + .../Attributes/DetectDelimiterAttribute.cs | 35 + .../Attributes/DetectDelimiterValuesAttribute.cs | 37 + .../Configuration/Attributes/EncodingAttribute.cs | 36 + .../Attributes/EnumIgnoreCaseAttribute.cs | 41 + .../Configuration/Attributes/EscapeAttribute.cs | 35 + .../ExceptionMessagesContainRawDataAttribute.cs | 39 + .../Configuration/Attributes/FormatAttribute.cs | 50 + .../Attributes/HasHeaderRecordAttribute.cs | 35 + .../Attributes/HeaderPrefixAttribute.cs | 73 + .../Configuration/Attributes/IClassMapper.cs | 19 + .../Configuration/Attributes/IMemberMapper.cs | 20 + .../Attributes/IMemberReferenceMapper.cs | 20 + .../Configuration/Attributes/IParameterMapper.cs | 24 + .../Attributes/IParameterReferenceMapper.cs | 24 + .../Configuration/Attributes/IgnoreAttribute.cs | 41 + .../Attributes/IgnoreBaseAttribute.cs | 20 + .../Attributes/IgnoreBlankLinesAttribute.cs | 35 + .../Attributes/IgnoreReferencesAttribute.cs | 41 + .../Attributes/IncludePrivateMembersAttribute.cs | 35 + .../Configuration/Attributes/IndexAttribute.cs | 57 + .../Attributes/InjectionCharactersAttribute.cs | 37 + .../InjectionEscapeCharacterAttribute.cs | 35 + .../Attributes/InjectionOptionsAttribute.cs | 35 + .../LineBreakInQuotedFieldIsBadDataAttribute.cs | 39 + .../Attributes/MaxFieldSizeAttribute.cs | 40 + .../Attributes/MemberTypesAttribute.cs | 40 + .../Configuration/Attributes/ModeAttribute.cs | 38 + .../Configuration/Attributes/NameAttribute.cs | 77 + .../Configuration/Attributes/NameIndexAttribute.cs | 45 + .../Configuration/Attributes/NewLineAttribute.cs | 39 + .../Attributes/NullValuesAttribute.cs | 52 + .../Attributes/NumberStylesAttribute.cs | 44 + .../Configuration/Attributes/OptionalAttribute.cs | 27 + .../Attributes/ProcessFieldBufferSizeAttribute.cs | 36 + .../Configuration/Attributes/QuoteAttribute.cs | 35 + .../Attributes/TrimOptionsAttribute.cs | 35 + .../Attributes/TypeConverterAttribute.cs | 57 + ...UseNewObjectForNullReferenceMembersAttribute.cs | 47 + .../Attributes/WhiteSpaceCharsAttribute.cs | 41 + .../src/CsvHelper/Configuration/ClassMap.cs | 648 ++ .../src/CsvHelper/Configuration/ClassMapBuilder.cs | 432 + .../CsvHelper/Configuration/ClassMapCollection.cs | 188 + .../src/CsvHelper/Configuration/ClassMap`1.cs | 112 + .../Configuration/ConfigurationException.cs | 36 + .../Configuration/ConfigurationFunctions.cs | 267 + .../CsvHelper/Configuration/CsvConfiguration.cs | 240 + .../CsvHelper/Configuration/DefaultClassMap`1.cs | 15 + .../Configuration/IParserConfiguration.cs | 176 + .../Configuration/IReaderConfiguration.cs | 111 + .../Configuration/IWriterConfiguration.cs | 168 + .../CsvHelper/Configuration/InjectionOptions.cs | 31 + .../src/CsvHelper/Configuration/MemberMap.cs | 244 + .../CsvHelper/Configuration/MemberMapCollection.cs | 247 + .../CsvHelper/Configuration/MemberMapComparer.cs | 74 + .../src/CsvHelper/Configuration/MemberMapData.cs | 167 + .../Configuration/MemberMapTypeConverterOption.cs | 167 + .../src/CsvHelper/Configuration/MemberMap`1.cs | 270 + .../Configuration/MemberNameCollection.cs | 98 + .../CsvHelper/Configuration/MemberReferenceMap.cs | 68 + .../Configuration/MemberReferenceMapCollection.cs | 164 + .../Configuration/MemberReferenceMapData.cs | 68 + .../src/CsvHelper/Configuration/MemberTypes.cs | 32 + .../src/CsvHelper/Configuration/ParameterMap.cs | 212 + .../CsvHelper/Configuration/ParameterMapData.cs | 106 + .../ParameterMapTypeConverterOption.cs | 160 + .../Configuration/ParameterReferenceMap.cs | 66 + .../Configuration/ParameterReferenceMapData.cs | 70 + .../src/CsvHelper/Configuration/TrimOptions.cs | 30 + .../CsvHelper-master/src/CsvHelper/CsvContext.cs | 202 + .../src/CsvHelper/CsvDataReader.cs | 387 + .../src/CsvHelper/CsvHelper.csproj | 92 + .../CsvHelper/CsvHelper.net45.v3.ncrunchproject | 5 + .../CsvHelper/CsvHelper.net47.v3.ncrunchproject | 5 + .../CsvHelper/CsvHelper.net5.0.v3.ncrunchproject | 5 + .../CsvHelper/CsvHelper.net50.v3.ncrunchproject | 5 + .../CsvHelper/CsvHelper.net6.0.v3.ncrunchproject | 5 + .../CsvHelper/CsvHelper.net60.v3.ncrunchproject | 5 + .../CsvHelper.netstandard2.0.v3.ncrunchproject | 5 + .../CsvHelper.netstandard2.1.v3.ncrunchproject | 5 + .../CsvHelper-master/src/CsvHelper/CsvHelper.snk | Bin 0 -> 596 bytes .../src/CsvHelper/CsvHelperException.cs | 144 + .../CsvHelper-master/src/CsvHelper/CsvMode.cs | 43 + .../CsvHelper-master/src/CsvHelper/CsvParser.cs | 1194 ++ .../CsvHelper-master/src/CsvHelper/CsvReader.cs | 1419 +++ .../CsvHelper-master/src/CsvHelper/CsvWriter.cs | 842 ++ .../src/CsvHelper/Delegates/BadDataFound.cs | 52 + .../src/CsvHelper/Delegates/ConvertFromString.cs | 40 + .../src/CsvHelper/Delegates/ConvertToString.cs | 41 + .../src/CsvHelper/Delegates/GetConstructor.cs | 38 + .../src/CsvHelper/Delegates/GetDelimiter.cs | 44 + .../CsvHelper/Delegates/GetDynamicPropertyName.cs | 44 + .../src/CsvHelper/Delegates/HeaderValidated.cs | 46 + .../src/CsvHelper/Delegates/MissingFieldFound.cs | 53 + .../CsvHelper/Delegates/PrepareHeaderForMatch.cs | 47 + .../Delegates/ReadingExceptionOccurred.cs | 40 + .../CsvHelper/Delegates/ReferenceHeaderPrefix.cs | 44 + .../src/CsvHelper/Delegates/ShouldQuote.cs | 51 + .../src/CsvHelper/Delegates/ShouldSkipRecord.cs | 37 + .../Delegates/ShouldUseConstructorParameters.cs | 38 + .../src/CsvHelper/Delegates/Validate.cs | 53 + .../src/CsvHelper/EnumerableExtensions.cs | 27 + .../CsvHelper/Expressions/DynamicRecordCreator.cs | 61 + .../CsvHelper/Expressions/DynamicRecordWriter.cs | 75 + .../Expressions/ExpandoObjectRecordWriter.cs | 49 + .../src/CsvHelper/Expressions/ExpressionManager.cs | 490 + .../CsvHelper/Expressions/ObjectRecordCreator.cs | 66 + .../CsvHelper/Expressions/ObjectRecordWriter.cs | 124 + .../Expressions/PrimitiveRecordCreator.cs | 49 + .../CsvHelper/Expressions/PrimitiveRecordWriter.cs | 57 + .../src/CsvHelper/Expressions/RecordCreator.cs | 107 + .../CsvHelper/Expressions/RecordCreatorFactory.cs | 51 + .../src/CsvHelper/Expressions/RecordHydrator.cs | 126 + .../src/CsvHelper/Expressions/RecordManager.cs | 80 + .../src/CsvHelper/Expressions/RecordWriter.cs | 109 + .../CsvHelper/Expressions/RecordWriterFactory.cs | 61 + .../CsvHelper-master/src/CsvHelper/Factory.cs | 108 + .../CsvHelper-master/src/CsvHelper/FieldCache.cs | 137 + .../src/CsvHelper/FieldValidationException.cs | 55 + .../src/CsvHelper/HeaderValidationException.cs | 55 + .../CsvHelper-master/src/CsvHelper/IFactory.cs | 85 + .../src/CsvHelper/IObjectResolver.cs | 57 + .../CsvHelper-master/src/CsvHelper/IParser.cs | 89 + .../CsvHelper-master/src/CsvHelper/IReader.cs | 126 + .../CsvHelper-master/src/CsvHelper/IReaderRow.cs | 428 + .../CsvHelper-master/src/CsvHelper/IWriter.cs | 86 + .../CsvHelper-master/src/CsvHelper/IWriterRow.cs | 135 + ThirdParty/CsvHelper-master/src/CsvHelper/Icon.png | Bin 0 -> 728 bytes .../src/CsvHelper/InvalidHeader.cs | 28 + .../src/CsvHelper/LinkedListExtensions.cs | 29 + .../src/CsvHelper/MaxFieldSizeException.cs | 39 + .../src/CsvHelper/MissingFieldException.cs | 40 + .../src/CsvHelper/ObjectCreator.cs | 218 + .../src/CsvHelper/ObjectResolver.cs | 143 + .../src/CsvHelper/ParserException.cs | 39 + .../src/CsvHelper/Properties/AssemblyInfo.cs | 13 + .../src/CsvHelper/ReaderException.cs | 39 + .../src/CsvHelper/ReflectionExtensions.cs | 155 + .../src/CsvHelper/ReflectionHelper.cs | 204 + .../src/CsvHelper/TypeConversion/ArrayConverter.cs | 73 + .../TypeConversion/BigIntegerConverter.cs | 57 + .../CsvHelper/TypeConversion/BooleanConverter.cs | 72 + .../CsvHelper/TypeConversion/ByteArrayConverter.cs | 126 + .../TypeConversion/ByteArrayConverterOptions.cs | 44 + .../src/CsvHelper/TypeConversion/ByteConverter.cs | 34 + .../src/CsvHelper/TypeConversion/CharConverter.cs | 36 + .../TypeConversion/CollectionConverterFactory.cs | 175 + .../TypeConversion/CollectionGenericConverter.cs | 64 + .../CsvHelper/TypeConversion/DateOnlyConverter.cs | 40 + .../CsvHelper/TypeConversion/DateTimeConverter.cs | 43 + .../TypeConversion/DateTimeOffsetConverter.cs | 43 + .../CsvHelper/TypeConversion/DecimalConverter.cs | 34 + .../TypeConversion/DefaultTypeConverter.cs | 62 + .../CsvHelper/TypeConversion/DoubleConverter.cs | 57 + .../src/CsvHelper/TypeConversion/EnumConverter.cs | 121 + .../TypeConversion/EnumConverterFactory.cs | 35 + .../TypeConversion/EnumerableConverter.cs | 48 + .../src/CsvHelper/TypeConversion/GuidConverter.cs | 32 + .../TypeConversion/IDictionaryConverter.cs | 65 + .../TypeConversion/IDictionaryGenericConverter.cs | 46 + .../TypeConversion/IEnumerableConverter.cs | 85 + .../TypeConversion/IEnumerableGenericConverter.cs | 65 + .../src/CsvHelper/TypeConversion/ITypeConverter.cs | 32 + .../TypeConversion/ITypeConverterFactory.cs | 33 + .../src/CsvHelper/TypeConversion/Int16Converter.cs | 34 + .../src/CsvHelper/TypeConversion/Int32Converter.cs | 34 + .../src/CsvHelper/TypeConversion/Int64Converter.cs | 34 + .../CsvHelper/TypeConversion/NullableConverter.cs | 94 + .../TypeConversion/NullableConverterFactory.cs | 28 + .../src/CsvHelper/TypeConversion/SByteConverter.cs | 34 + .../CsvHelper/TypeConversion/SingleConverter.cs | 57 + .../CsvHelper/TypeConversion/StringConverter.cs | 39 + .../CsvHelper/TypeConversion/TimeOnlyConverter.cs | 40 + .../CsvHelper/TypeConversion/TimeSpanConverter.cs | 41 + .../src/CsvHelper/TypeConversion/TypeConverter.cs | 52 + .../CsvHelper/TypeConversion/TypeConverterCache.cs | 242 + .../TypeConversion/TypeConverterException.cs | 132 + .../TypeConversion/TypeConverterOptions.cs | 157 + .../TypeConversion/TypeConverterOptionsCache.cs | 108 + .../CsvHelper/TypeConversion/UInt16Converter.cs | 34 + .../CsvHelper/TypeConversion/UInt32Converter.cs | 34 + .../CsvHelper/TypeConversion/UInt64Converter.cs | 34 + .../src/CsvHelper/TypeConversion/UriConverter.cs | 40 + .../src/CsvHelper/ValidationException.cs | 39 + .../src/CsvHelper/WriterException.cs | 39 + .../tests/CsvHelper.Tests/ArrayHelperTests.cs | 79 + .../tests/CsvHelper.Tests/Async/ReadingTests.cs | 103 + .../tests/CsvHelper.Tests/Async/WritingTests.cs | 119 + .../AutoMapping/AutoMappingTests.cs | 394 + .../CsvHelper.Tests/AutoMapping/BaseClassTests.cs | 52 + .../AutoMapping/CircularReferenceTests.cs | 98 + .../CsvHelper.Tests/AutoMapping/ContextTests.cs | 36 + .../AutoMapping/IgnoreReferencesTests.cs | 62 + .../AutoMapping/MappingTypeOfTypeTest.cs | 41 + .../CsvHelper.Tests/AutoMapping/StructTests.cs | 76 + .../tests/CsvHelper.Tests/ClassMapOrderingTests.cs | 110 + .../Configuration/ClassMapBuilderTests.cs | 335 + .../Configuration/CsvClassMapCollectionTests.cs | 70 + .../CsvHelper.Tests/CsvClassMappingAutoMapTests.cs | 61 + .../tests/CsvHelper.Tests/CsvConfigurationTests.cs | 158 + .../tests/CsvHelper.Tests/CsvHelper.Tests.csproj | 63 + .../CsvHelper.Tests.net452.v3.ncrunchproject | 5 + .../CsvHelper.Tests.net47.v3.ncrunchproject | 5 + .../CsvHelper.Tests.net50.v3.ncrunchproject | 5 + ...CsvHelper.Tests.netcoreapp2.1.v3.ncrunchproject | 5 + ...CsvHelper.Tests.netcoreapp3.1.v3.ncrunchproject | 5 + .../CsvHelper.Tests.v3.ncrunchproject | 5 + .../tests/CsvHelper.Tests/CsvHelper.snk | Bin 0 -> 596 bytes .../CsvHelper.Tests/CsvParserConstructorTests.cs | 28 + .../CsvHelper.Tests/CsvParserDelimiterTests.cs | 344 + .../CsvHelper.Tests/CsvParserRawRecordTests.cs | 143 + .../tests/CsvHelper.Tests/CsvParserTests.cs | 1370 +++ .../CsvHelper.Tests/CsvReaderConstructorTests.cs | 52 + .../CsvHelper.Tests/CsvReaderDefaultValueTests.cs | 106 + .../CsvReaderDynamicMappingsTests.cs | 63 + .../CsvHelper.Tests/CsvReaderErrorMessageTests.cs | 258 + .../tests/CsvHelper.Tests/CsvReaderMappingTests.cs | 355 + .../CsvReaderReferenceMappingPrefixTests.cs | 92 + .../CsvReaderReferenceMappingTests.cs | 113 + .../CsvHelper.Tests/CsvReaderSubClassingTests.cs | 40 + .../tests/CsvHelper.Tests/CsvReaderTests.cs | 1166 ++ .../CsvHelper.Tests/CsvWriterBoxedTypesTests.cs | 65 + .../CsvHelper.Tests/CsvWriterConstructorTests.cs | 28 + .../tests/CsvHelper.Tests/CsvWriterFormatTests.cs | 201 + .../tests/CsvHelper.Tests/CsvWriterMappingTests.cs | 350 + .../CsvWriterReferenceMappingPrefixTests.cs | 106 + .../CsvWriterReferenceMappingTests.cs | 156 + .../CsvHelper.Tests/CsvWriterSubClassingTests.cs | 42 + .../tests/CsvHelper.Tests/CsvWriterTests.cs | 1030 ++ .../Culture/TypeConverterOptionsFactoryTests.cs | 229 + .../DataTableTests/CsvDataReaderTests.cs | 509 + .../Defaults/WritingDefaultsTests.cs | 118 + .../tests/CsvHelper.Tests/DisposeTests.cs | 55 + .../tests/CsvHelper.Tests/DynamicProxyTests.cs | 65 + .../tests/CsvHelper.Tests/EnumerateRecordsTests.cs | 181 + .../Exceptions/ExceptionMessageTests.cs | 208 + .../CsvHelper.Tests/Exceptions/ExceptionTests.cs | 52 + .../tests/CsvHelper.Tests/HeaderValidationTests.cs | 280 + .../tests/CsvHelper.Tests/Issues/Issue1954.cs | 178 + .../tests/CsvHelper.Tests/Issues/Issue920.cs | 59 + .../tests/CsvHelper.Tests/LocalCultureTests.cs | 72 + .../MapPropertyMultipleTimesTests.cs | 87 + .../CsvHelper.Tests/MappingInheritedClassTests.cs | 42 + .../Mappings/Attribute/AllowCommentsTests.cs | 29 + .../Mappings/Attribute/BooleanValuesTests.cs | 37 + .../Mappings/Attribute/BufferSizeTests.cs | 25 + .../Mappings/Attribute/CacheFieldsTests.cs | 20 + .../Mappings/Attribute/CommentTests.cs | 28 + .../Mappings/Attribute/ConstantTests.cs | 50 + .../Mappings/Attribute/CountBytesTest.cs | 20 + .../Mappings/Attribute/DateTimeStylesTests.cs | 37 + .../Mappings/Attribute/DefaultTests.cs | 37 + .../Mappings/Attribute/DelimiterTests.cs | 32 + .../Attribute/DetectColumnCountChangesTests.cs | 20 + .../Mappings/Attribute/DetectDelimiterTests.cs | 20 + .../Attribute/DetectDelimiterValuesTests.cs | 25 + .../Mappings/Attribute/EncodingTests.cs | 33 + .../Mappings/Attribute/EnumIgnoreCaseTests.cs | 91 + .../Mappings/Attribute/EscapeTests.cs | 32 + .../ExceptionMessagesContainRawDataTests.cs | 25 + .../Mappings/Attribute/FormatTests.cs | 37 + .../Mappings/Attribute/HasHeaderRecordTests.cs | 30 + .../Mappings/Attribute/HeaderPrefixTests.cs | 205 + .../Mappings/Attribute/IgnoreBaseTests.cs | 71 + .../Mappings/Attribute/IgnoreBlankLinesTests.cs | 36 + .../Mappings/Attribute/IgnoreReferencesTests.cs | 25 + .../Mappings/Attribute/IgnoreTests.cs | 93 + .../Attribute/IncludePrivateMembersTests.cs | 29 + .../Mappings/Attribute/IndexTests.cs | 42 + .../Mappings/Attribute/InjectionCharactersTests.cs | 25 + .../Attribute/InjectionEscapeCharacterTests.cs | 25 + .../Mappings/Attribute/InjectionOptionsTests.cs | 25 + .../LineBreakInQuotedFieldIsBadDataTests.cs | 25 + .../Mappings/Attribute/MaxFieldSizeTests.cs | 20 + .../Mappings/Attribute/MemberTypesTests.cs | 20 + .../Mappings/Attribute/ModeTests.cs | 20 + .../Mappings/Attribute/NameIndexTests.cs | 37 + .../Mappings/Attribute/NameTests.cs | 38 + .../Mappings/Attribute/NewLineTests.cs | 20 + .../Mappings/Attribute/NullValuesTests.cs | 37 + .../Mappings/Attribute/NumberStylesTests.cs | 37 + .../Mappings/Attribute/OptionalTests.cs | 41 + .../Attribute/ProcessFieldBufferSizeTests.cs | 20 + .../Mappings/Attribute/QuoteTests.cs | 29 + .../Mappings/Attribute/ReferenceTests.cs | 43 + .../Mappings/Attribute/TrimOptionsTests.cs | 31 + .../Mappings/Attribute/TypeConverterTests.cs | 125 + .../UseNewObjectForNullReferenceMembersTests.cs | 20 + .../Mappings/Attribute/WhiteSpaceCharsTests.cs | 20 + .../BooleanFalseValuesAttributeTests.cs | 110 + .../BooleanFalseValuesMapTests.cs | 125 + .../BooleanTrueValuesAttributeTests.cs | 110 + .../BooleanTrueValuesMapTests.cs | 125 + .../ConstructorParameter/ConstantAttributeTests.cs | 109 + .../ConstructorParameter/ConstantMapTests.cs | 193 + .../CultureInfoAttributeTests.cs | 119 + .../ConstructorParameter/CultureInfoMapTests.cs | 160 + .../DateTimeStylesAttributeTests.cs | 109 + .../ConstructorParameter/DateTimeStylesMapTests.cs | 152 + .../ConstructorParameter/DefaultAttributeTests.cs | 108 + .../ConstructorParameter/DefaultMapTests.cs | 152 + .../ConstructorParameter/EnumIgnoreCaseTests.cs | 113 + .../ConstructorParameter/FormatAttributeTests.cs | 111 + .../ConstructorParameter/FormatMapTests.cs | 156 + .../HeaderPrefixAttributeTests.cs | 111 + .../ConstructorParameter/HeaderPrefixMapTests.cs | 6 + .../ConstructorParameter/IgnoreAttributeTests.cs | 106 + .../ConstructorParameter/IgnoreMapTests.cs | 150 + .../ConstructorParameter/IndexAttributeTests.cs | 106 + .../Mappings/ConstructorParameter/IndexMapTests.cs | 149 + .../ConstructorParameter/NameAttributeTests.cs | 85 + .../NameIndexAttributeTests.cs | 85 + .../ConstructorParameter/NameIndexMapTests.cs | 126 + .../Mappings/ConstructorParameter/NameMapTests.cs | 126 + .../NullValuesAttributeTests.cs | 107 + .../ConstructorParameter/NullValuesMapTests.cs | 122 + .../NumberStylesAttributeTests.cs | 108 + .../ConstructorParameter/NumberStylesMapTests.cs | 151 + .../ConstructorParameter/OptionalAttributeTests.cs | 106 + .../ConstructorParameter/OptionalMapTests.cs | 150 + .../TypeConverterAttributeTests.cs | 115 + .../ConstructorParameter/TypeConverterMapTests.cs | 158 + .../Mappings/CsvClassMappingTests.cs | 239 + .../CsvHelper.Tests/Mappings/FieldMappingTests.cs | 397 + .../Mappings/HiddenBaseMembersTests.cs | 117 + .../Mappings/IgnoreHeaderWhiteSpaceTests.cs | 52 + .../Mappings/MapConstructorTests.cs | 42 + .../Mappings/MappingWithNoHeaderTests.cs | 243 + .../CsvHelper.Tests/Mappings/OptionalTests.cs | 220 + .../Mappings/Property/ConstantTests.cs | 74 + .../Mappings/ReferenceConstructorArgsTests.cs | 50 + .../CsvHelper.Tests/Mappings/RuntimeMapping.cs | 199 + .../Mappings/SubPropertyMappingTests.cs | 127 + .../CsvHelper.Tests/Mocks/DynamicObjectMock.cs | 31 + .../tests/CsvHelper.Tests/Mocks/ParserMock.cs | 96 + .../tests/CsvHelper.Tests/Mocks/ParserMockTests.cs | 37 + .../tests/CsvHelper.Tests/Mocks/ReaderRowMock.cs | 226 + .../tests/CsvHelper.Tests/ObjectCreatorTests.cs | 351 + .../ObjectResolverTests/Issue1073.cs | 72 + .../ObjectResolverTests/ResolveSingleTypeTests.cs | 59 + .../tests/CsvHelper.Tests/Parsing/BadDataTests.cs | 153 + .../Parsing/BufferSplittingEscapeAndQuoteTests.cs | 38 + .../Parsing/BufferSplittingLineEndingTests.cs | 98 + .../Parsing/BufferSplittingNewLineEndingTests.cs | 102 + .../CsvHelper.Tests/Parsing/ByteCountTests.cs | 137 + .../CsvHelper.Tests/Parsing/CharCountTests.cs | 124 + .../tests/CsvHelper.Tests/Parsing/CommentTests.cs | 125 + .../tests/CsvHelper.Tests/Parsing/CrTests.cs | 235 + .../tests/CsvHelper.Tests/Parsing/CsvModeTests.cs | 109 + .../CsvHelper.Tests/Parsing/DelimiterTests.cs | 81 + .../Parsing/DetectDelimiterTests.cs | 286 + .../CsvHelper.Tests/Parsing/EndBufferTests.cs | 79 + .../Parsing/EscapeCharacterTests.cs | 110 + .../Parsing/ExcelCompatibilityTests.cs | 123 + .../CsvHelper.Tests/Parsing/FieldCacheTests.cs | 94 + .../CsvHelper.Tests/Parsing/MaxFieldSizeTests.cs | 50 + .../tests/CsvHelper.Tests/Parsing/NewLineTests.cs | 176 + .../Parsing/RefillingTextReaderTests.cs | 59 + .../tests/CsvHelper.Tests/Parsing/TrimTests.cs | 1206 ++ .../CsvHelper.Tests/Reading/AnonymousTypesTests.cs | 707 ++ .../tests/CsvHelper.Tests/Reading/BadDataTests.cs | 64 + .../tests/CsvHelper.Tests/Reading/ConstantTests.cs | 114 + .../Reading/ConstructorParametersTests.cs | 220 + .../Reading/DetectColumnCountChangesTests.cs | 199 + .../tests/CsvHelper.Tests/Reading/DynamicTests.cs | 126 + .../Reading/EmptyTextReaderTests.cs | 25 + .../Reading/MultipleGetRecordsTests.cs | 60 + .../Reading/MultipleHeadersTests.cs | 114 + .../NullableValuesInEmptyColumnsInputTests.cs | 224 + .../Reading/PrivateSettersInParentTests.cs | 90 + .../CsvHelper.Tests/Reading/ReadHeaderTests.cs | 166 + .../Reading/ShouldSkipRecordTests.cs | 87 + .../tests/CsvHelper.Tests/Reading/TryGetTests.cs | 228 + .../tests/CsvHelper.Tests/Reading/ValidateTests.cs | 197 + .../tests/CsvHelper.Tests/Reading/YieldTests.cs | 142 + .../ReferenceMappingClassMapTests.cs | 169 + .../CsvHelper.Tests/ReferenceMappingIndexTests.cs | 69 + .../Reflection/GetMemberExpressionStackTests.cs | 56 + .../tests/CsvHelper.Tests/TestStringBuilder.cs | 34 + .../tests/CsvHelper.Tests/TestStringWriter.cs | 28 + .../TypeConversion/ArrayConverterTests.cs | 211 + .../TypeConversion/BigIntegerConverterTests.cs | 40 + .../TypeConversion/BooleanConverterTests.cs | 166 + .../TypeConversion/ByteArrayConverterTests.cs | 139 + .../TypeConversion/ByteConverterTests.cs | 47 + .../TypeConversion/CharConverterTests.cs | 50 + .../CollectionGenericConverterTests.cs | 101 + .../TypeConversion/DateOnlyConverterTests.cs | 59 + .../TypeConversion/DateTimeConverterTests.cs | 76 + .../TypeConversion/DateTimeOffsetConverterTests.cs | 75 + .../TypeConversion/DefaultConverterTests.cs | 81 + .../TypeConversion/DefaultValueTests.cs | 67 + .../TypeConversion/DoubleConverterTests.cs | 39 + .../TypeConversion/EnumConverterTests.cs | 367 + .../TypeConversion/EnumerableConverterTests.cs | 32 + .../TypeConversion/IDictionaryConverterTests.cs | 303 + .../IDictionaryGenericConverterTests.cs | 198 + .../TypeConversion/IEnumerableConverterTests.cs | 261 + .../IEnumerableGenericConverterTests.cs | 265 + .../TypeConversion/SingleConverterTests.cs | 39 + .../TypeConversion/TimeOnlyConverterTests.cs | 59 + .../TypeConversion/TimeSpanConverterTests.cs | 54 + .../TypeConversion/TypeConverterCacheTests.cs | 243 + .../TypeConverterOptionsFactoryTests.cs | 211 + .../TypeConversion/TypeConverterOptionsTests.cs | 110 + .../TypeConversion/TypeConverterTests.cs | 51 + .../TypeConversion/UriConverterTests.cs | 106 + .../CsvHelper.Tests/Writing/AnonymousTypesTests.cs | 34 + .../tests/CsvHelper.Tests/Writing/ConstantTests.cs | 126 + .../tests/CsvHelper.Tests/Writing/CsvModeTests.cs | 145 + .../tests/CsvHelper.Tests/Writing/DynamicTests.cs | 218 + .../CsvHelper.Tests/Writing/FieldTypeTests.cs | 87 + .../Writing/IAsyncEnumerableTests.cs | 50 + .../tests/CsvHelper.Tests/Writing/IgnoreTests.cs | 51 + .../CsvHelper.Tests/Writing/InterfaceTests.cs | 90 + .../Writing/MultipleFieldsFromOnePropertyTests.cs | 79 + .../CsvHelper.Tests/Writing/MultipleHeadersTest.cs | 84 + .../tests/CsvHelper.Tests/Writing/NewLineTests.cs | 92 + .../Writing/NoPropertyMappingTests.cs | 218 + .../CsvHelper.Tests/Writing/SanitizationTests.cs | 422 + .../CsvHelper.Tests/Writing/ShouldQuoteTests.cs | 187 + .../tests/CsvHelper.Tests/Writing/TrimTests.cs | 41 + .../CsvHelper.Tests/Writing/WriteBufferTests.cs | 36 + .../Writing/WriteCustomEscapeTests.cs | 63 + .../CsvHelper.Tests/Writing/WriteNullTests.cs | 84 + .../tests/CsvHelper.Tests/XunitException.cs | 19 + .../tests/CsvHelper.Tests/xunit.runner.json | 4 + 745 files changed, 126826 insertions(+) create mode 100644 ThirdParty/CsvHelper-master/.editorconfig create mode 100644 ThirdParty/CsvHelper-master/.gitignore create mode 100644 ThirdParty/CsvHelper-master/CsvHelper.sln create mode 100644 ThirdParty/CsvHelper-master/CsvHelper.sln.licenseheader create mode 100644 ThirdParty/CsvHelper-master/CsvHelper.v3.ncrunchsolution create mode 100644 ThirdParty/CsvHelper-master/CsvHelperDependencies.linq create mode 100644 ThirdParty/CsvHelper-master/GitVersion.yml create mode 100644 ThirdParty/CsvHelper-master/LICENSE.txt create mode 100644 ThirdParty/CsvHelper-master/README.markdown create mode 100644 ThirdParty/CsvHelper-master/Unity Build.bat create mode 100644 ThirdParty/CsvHelper-master/build.cmd create mode 100644 ThirdParty/CsvHelper-master/build.ps1 create mode 100644 ThirdParty/CsvHelper-master/build.sh create mode 100644 ThirdParty/CsvHelper-master/build/.editorconfig create mode 100644 ThirdParty/CsvHelper-master/build/Build.cs create mode 100644 ThirdParty/CsvHelper-master/build/Configuration.cs create mode 100644 ThirdParty/CsvHelper-master/build/Directory.Build.props create mode 100644 ThirdParty/CsvHelper-master/build/Directory.Build.targets create mode 100644 ThirdParty/CsvHelper-master/build/_build.csproj create mode 100644 ThirdParty/CsvHelper-master/build/_build.csproj.DotSettings create mode 100644 ThirdParty/CsvHelper-master/build/_build.v3.ncrunchproject create mode 100644 ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/ConsoleHost.cs create mode 100644 ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/CsvHelper.DocsGenerator.csproj create mode 100644 ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/EncodingType.cs create mode 100644 ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Extensions.cs create mode 100644 ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Formatters/HtmlFormatter.cs create mode 100644 ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Formatters/Symbols.cs create mode 100644 ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Formatters/XmlDocFormatter.cs create mode 100644 ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Generators/AssemblyGenerator.cs create mode 100644 ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Generators/DocumentGenerator.cs create mode 100644 ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Generators/DocumentGeneratorFactory.cs create mode 100644 ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Generators/NamespaceGenerator.cs create mode 100644 ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Generators/TypeGenerator.cs create mode 100644 ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Infos/AssemblyInfo.cs create mode 100644 ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Infos/ConstructorInfo.cs create mode 100644 ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Infos/Info.cs create mode 100644 ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Infos/MethodInfo.cs create mode 100644 ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Infos/NamespaceInfo.cs create mode 100644 ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Infos/PropertyInfo.cs create mode 100644 ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Infos/TypeInfo.cs create mode 100644 ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/LinkGenerator.cs create mode 100644 ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Program.cs create mode 100644 ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Startup.cs create mode 100644 ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/XmlDocs.cs create mode 100644 ThirdParty/CsvHelper-master/docs/.nojekyll create mode 100644 ThirdParty/CsvHelper-master/docs/api/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/browserconfig.xml create mode 100644 ThirdParty/CsvHelper-master/docs/change-log/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/examples/configuration/attributes/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/examples/configuration/class-maps/auto-mapping/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/examples/configuration/class-maps/constant-value/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/examples/configuration/class-maps/ignoring-properties/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/examples/configuration/class-maps/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/examples/configuration/class-maps/inline-type-conversion/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/examples/configuration/class-maps/mapping-by-alternate-names/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/examples/configuration/class-maps/mapping-by-index/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/examples/configuration/class-maps/mapping-by-name/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/examples/configuration/class-maps/mapping-duplicate-names/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/examples/configuration/class-maps/mapping-properties/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/examples/configuration/class-maps/optional-maps/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/examples/configuration/class-maps/type-conversion/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/examples/configuration/class-maps/validation/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/examples/configuration/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/examples/csvdatareader/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/examples/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/examples/prerequisites/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/examples/prerequisites/reading-and-writing-files/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/examples/prerequisites/streams/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/examples/prerequisites/using-and-dispose/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/examples/reading/enumerate-class-records/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/examples/reading/get-anonymous-type-records/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/examples/reading/get-class-records/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/examples/reading/get-dynamic-records/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/examples/reading/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/examples/reading/reading-by-hand/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/examples/reading/reading-multiple-data-sets/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/examples/reading/reading-multiple-record-types/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/examples/type-conversion/custom-type-converter/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/examples/type-conversion/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/examples/type-conversion/type-converter-options/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/examples/writing/appending-to-an-existing-file/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/examples/writing/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/examples/writing/write-anonymous-type-objects/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/examples/writing/write-class-objects/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/examples/writing/write-dynamic-objects/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/favicons/android-icon-144x144.png create mode 100644 ThirdParty/CsvHelper-master/docs/favicons/android-icon-192x192.png create mode 100644 ThirdParty/CsvHelper-master/docs/favicons/android-icon-36x36.png create mode 100644 ThirdParty/CsvHelper-master/docs/favicons/android-icon-48x48.png create mode 100644 ThirdParty/CsvHelper-master/docs/favicons/android-icon-72x72.png create mode 100644 ThirdParty/CsvHelper-master/docs/favicons/android-icon-96x96.png create mode 100644 ThirdParty/CsvHelper-master/docs/favicons/apple-icon-114x114.png create mode 100644 ThirdParty/CsvHelper-master/docs/favicons/apple-icon-120x120.png create mode 100644 ThirdParty/CsvHelper-master/docs/favicons/apple-icon-144x144.png create mode 100644 ThirdParty/CsvHelper-master/docs/favicons/apple-icon-152x152.png create mode 100644 ThirdParty/CsvHelper-master/docs/favicons/apple-icon-180x180.png create mode 100644 ThirdParty/CsvHelper-master/docs/favicons/apple-icon-57x57.png create mode 100644 ThirdParty/CsvHelper-master/docs/favicons/apple-icon-60x60.png create mode 100644 ThirdParty/CsvHelper-master/docs/favicons/apple-icon-72x72.png create mode 100644 ThirdParty/CsvHelper-master/docs/favicons/apple-icon-76x76.png create mode 100644 ThirdParty/CsvHelper-master/docs/favicons/apple-icon-precomposed.png create mode 100644 ThirdParty/CsvHelper-master/docs/favicons/apple-icon.png create mode 100644 ThirdParty/CsvHelper-master/docs/favicons/favicon-16x16.png create mode 100644 ThirdParty/CsvHelper-master/docs/favicons/favicon-32x32.png create mode 100644 ThirdParty/CsvHelper-master/docs/favicons/favicon-96x96.png create mode 100644 ThirdParty/CsvHelper-master/docs/favicons/favicon.ico create mode 100644 ThirdParty/CsvHelper-master/docs/favicons/ms-icon-144x144.png create mode 100644 ThirdParty/CsvHelper-master/docs/favicons/ms-icon-150x150.png create mode 100644 ThirdParty/CsvHelper-master/docs/favicons/ms-icon-310x310.png create mode 100644 ThirdParty/CsvHelper-master/docs/favicons/ms-icon-70x70.png create mode 100644 ThirdParty/CsvHelper-master/docs/getting-started/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/google6ad86f23ff698b61.html create mode 100644 ThirdParty/CsvHelper-master/docs/images/logo.svg create mode 100644 ThirdParty/CsvHelper-master/docs/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/manifest.json create mode 100644 ThirdParty/CsvHelper-master/docs/migration/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/migration/v10/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/migration/v11/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/migration/v12/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/migration/v13/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/migration/v14/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/migration/v15/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/migration/v16/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/migration/v17/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/migration/v18/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/migration/v19/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/migration/v2/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/migration/v20/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/migration/v21/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/migration/v22/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/migration/v23/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/migration/v24/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/migration/v25/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/migration/v26/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/migration/v27/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/migration/v28/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/migration/v29/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/migration/v3/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/migration/v30/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/migration/v4/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/migration/v5/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/migration/v6/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/migration/v7/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/migration/v8/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/migration/v9/index.html create mode 100644 ThirdParty/CsvHelper-master/docs/robots.txt create mode 100644 ThirdParty/CsvHelper-master/docs/scripts/header.js create mode 100644 ThirdParty/CsvHelper-master/docs/scripts/sidebar.js create mode 100644 ThirdParty/CsvHelper-master/docs/sitemap.xml create mode 100644 ThirdParty/CsvHelper-master/docs/styles/base.css create mode 100644 ThirdParty/CsvHelper-master/docs/styles/content.css create mode 100644 ThirdParty/CsvHelper-master/docs/styles/header.css create mode 100644 ThirdParty/CsvHelper-master/docs/styles/index.css create mode 100644 ThirdParty/CsvHelper-master/docs/styles/sidebar.css create mode 100644 ThirdParty/CsvHelper-master/global.json create mode 100644 ThirdParty/CsvHelper-master/logo/CSV Helper logo.ai create mode 100644 ThirdParty/CsvHelper-master/logo/CSV Helper logo.eps create mode 100644 ThirdParty/CsvHelper-master/logo/CSV Helper logo.png create mode 100644 ThirdParty/CsvHelper-master/logo/CSV Helper logo.svg create mode 100644 ThirdParty/CsvHelper-master/logo/CSV-Helper-logo-Web.jpg create mode 100644 ThirdParty/CsvHelper-master/logo/CSV-Helper-logo-Web.png create mode 100644 ThirdParty/CsvHelper-master/logo/Comma-Small.jpg create mode 100644 ThirdParty/CsvHelper-master/logo/Comma-Small.png create mode 100644 ThirdParty/CsvHelper-master/logo/Comma.ai create mode 100644 ThirdParty/CsvHelper-master/logo/Comma.eps create mode 100644 ThirdParty/CsvHelper-master/logo/Comma.svg create mode 100644 ThirdParty/CsvHelper-master/performance/CsvHelper.Performance/CsvHelper.Performance.csproj create mode 100644 ThirdParty/CsvHelper-master/performance/CsvHelper.Performance/CsvHelper.Performance.v3.ncrunchproject create mode 100644 ThirdParty/CsvHelper-master/performance/CsvHelper.Performance/Program.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/.gitignore create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/CsvHelper.Website.csproj create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/CsvHelper.Website.v3.ncrunchproject create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/Program.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/README.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/TocItem.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/.nojekyll create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/Index.cshtml create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/Shared/_Footer.cshtml create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/Shared/_Header.cshtml create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/Shared/_Layout.cshtml create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/Shared/_Metadata.cshtml create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/Shared/_SideBar.cshtml create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/Shared/_TocItem.cshtml create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/Shared/_TocItems.cshtml create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/_ViewImports.cshtml create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/_ViewStart.cshtml create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/_manifest.yml create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/api/Index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/browserconfig.xml create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/change-log/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/examples/_directory.json create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/examples/configuration/attributes/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/examples/configuration/class-maps/auto-mapping/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/examples/configuration/class-maps/constant-value/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/examples/configuration/class-maps/ignoring-properties/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/examples/configuration/class-maps/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/examples/configuration/class-maps/inline-type-conversion/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/examples/configuration/class-maps/mapping-by-alternate-names/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/examples/configuration/class-maps/mapping-by-index/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/examples/configuration/class-maps/mapping-by-name/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/examples/configuration/class-maps/mapping-duplicate-names/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/examples/configuration/class-maps/mapping-properties/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/examples/configuration/class-maps/optional-maps/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/examples/configuration/class-maps/type-conversion/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/examples/configuration/class-maps/validation/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/examples/configuration/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/examples/csvdatareader/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/examples/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/examples/prerequisites/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/examples/prerequisites/reading-and-writing-files/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/examples/prerequisites/streams/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/examples/prerequisites/using-and-dispose/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/examples/reading/enumerate-class-records/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/examples/reading/get-anonymous-type-records/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/examples/reading/get-class-records/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/examples/reading/get-dynamic-records/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/examples/reading/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/examples/reading/reading-by-hand/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/examples/reading/reading-multiple-data-sets/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/examples/reading/reading-multiple-record-types/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/examples/type-conversion/custom-type-converter/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/examples/type-conversion/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/examples/type-conversion/type-converter-options/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/examples/writing/appending-to-an-existing-file/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/examples/writing/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/examples/writing/write-anonymous-type-objects/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/examples/writing/write-class-objects/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/examples/writing/write-dynamic-objects/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/favicons/android-icon-144x144.png create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/favicons/android-icon-192x192.png create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/favicons/android-icon-36x36.png create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/favicons/android-icon-48x48.png create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/favicons/android-icon-72x72.png create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/favicons/android-icon-96x96.png create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/favicons/apple-icon-114x114.png create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/favicons/apple-icon-120x120.png create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/favicons/apple-icon-144x144.png create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/favicons/apple-icon-152x152.png create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/favicons/apple-icon-180x180.png create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/favicons/apple-icon-57x57.png create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/favicons/apple-icon-60x60.png create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/favicons/apple-icon-72x72.png create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/favicons/apple-icon-76x76.png create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/favicons/apple-icon-precomposed.png create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/favicons/apple-icon.png create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/favicons/favicon-16x16.png create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/favicons/favicon-32x32.png create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/favicons/favicon-96x96.png create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/favicons/favicon.ico create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/favicons/ms-icon-144x144.png create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/favicons/ms-icon-150x150.png create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/favicons/ms-icon-310x310.png create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/favicons/ms-icon-70x70.png create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/getting-started/_index.json create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/getting-started/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/google6ad86f23ff698b61.html create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/images/logo.svg create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/manifest.json create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/migration/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/migration/v10/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/migration/v11/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/migration/v12/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/migration/v13/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/migration/v14/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/migration/v15/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/migration/v16/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/migration/v17/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/migration/v18/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/migration/v19/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/migration/v2/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/migration/v20/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/migration/v21/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/migration/v22/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/migration/v23/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/migration/v24/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/migration/v25/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/migration/v26/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/migration/v27/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/migration/v28/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/migration/v29/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/migration/v3/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/migration/v30/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/migration/v4/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/migration/v5/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/migration/v6/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/migration/v7/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/migration/v8/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/migration/v9/index.md create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/robots.txt create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/scripts/header.js create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/scripts/sidebar.js create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/styles/base.scss create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/styles/bulma.scss create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/styles/content.scss create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/styles/header.scss create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/styles/index.scss create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/input/styles/sidebar.scss create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/lib/bulma/bulma-rtl.css create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/lib/bulma/bulma-rtl.css.map create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/lib/bulma/bulma-rtl.min.css create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/lib/bulma/bulma.css create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/lib/bulma/bulma.css.map create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/lib/bulma/bulma.min.css create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper.Website/settings.yml create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/ArrayHelper.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/BadDataException.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/Attributes/AllowCommentsAttribute.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/Attributes/BooleanFalseValuesAttribute.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/Attributes/BooleanTrueValuesAttribute.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/Attributes/BufferSizeAttribute.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/Attributes/CacheFieldsAttribute.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/Attributes/CommentAttribute.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/Attributes/ConstantAttribute.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/Attributes/CountBytesAttribute.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/Attributes/CultureInfoAttribute.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/Attributes/DateTimeStylesAttribute.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/Attributes/DefaultAttribute.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/Attributes/DelimiterAttribute.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/Attributes/DetectColumnCountChangesAttribute.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/Attributes/DetectDelimiterAttribute.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/Attributes/DetectDelimiterValuesAttribute.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/Attributes/EncodingAttribute.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/Attributes/EnumIgnoreCaseAttribute.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/Attributes/EscapeAttribute.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/Attributes/ExceptionMessagesContainRawDataAttribute.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/Attributes/FormatAttribute.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/Attributes/HasHeaderRecordAttribute.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/Attributes/HeaderPrefixAttribute.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/Attributes/IClassMapper.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/Attributes/IMemberMapper.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/Attributes/IMemberReferenceMapper.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/Attributes/IParameterMapper.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/Attributes/IParameterReferenceMapper.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/Attributes/IgnoreAttribute.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/Attributes/IgnoreBaseAttribute.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/Attributes/IgnoreBlankLinesAttribute.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/Attributes/IgnoreReferencesAttribute.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/Attributes/IncludePrivateMembersAttribute.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/Attributes/IndexAttribute.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/Attributes/InjectionCharactersAttribute.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/Attributes/InjectionEscapeCharacterAttribute.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/Attributes/InjectionOptionsAttribute.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/Attributes/LineBreakInQuotedFieldIsBadDataAttribute.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/Attributes/MaxFieldSizeAttribute.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/Attributes/MemberTypesAttribute.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/Attributes/ModeAttribute.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/Attributes/NameAttribute.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/Attributes/NameIndexAttribute.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/Attributes/NewLineAttribute.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/Attributes/NullValuesAttribute.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/Attributes/NumberStylesAttribute.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/Attributes/OptionalAttribute.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/Attributes/ProcessFieldBufferSizeAttribute.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/Attributes/QuoteAttribute.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/Attributes/TrimOptionsAttribute.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/Attributes/TypeConverterAttribute.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/Attributes/UseNewObjectForNullReferenceMembersAttribute.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/Attributes/WhiteSpaceCharsAttribute.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/ClassMap.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/ClassMapBuilder.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/ClassMapCollection.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/ClassMap`1.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/ConfigurationException.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/ConfigurationFunctions.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/CsvConfiguration.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/DefaultClassMap`1.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/IParserConfiguration.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/IReaderConfiguration.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/IWriterConfiguration.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/InjectionOptions.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/MemberMap.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/MemberMapCollection.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/MemberMapComparer.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/MemberMapData.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/MemberMapTypeConverterOption.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/MemberMap`1.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/MemberNameCollection.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/MemberReferenceMap.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/MemberReferenceMapCollection.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/MemberReferenceMapData.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/MemberTypes.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/ParameterMap.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/ParameterMapData.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/ParameterMapTypeConverterOption.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/ParameterReferenceMap.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/ParameterReferenceMapData.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/TrimOptions.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/CsvContext.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/CsvDataReader.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/CsvHelper.csproj create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/CsvHelper.net45.v3.ncrunchproject create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/CsvHelper.net47.v3.ncrunchproject create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/CsvHelper.net5.0.v3.ncrunchproject create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/CsvHelper.net50.v3.ncrunchproject create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/CsvHelper.net6.0.v3.ncrunchproject create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/CsvHelper.net60.v3.ncrunchproject create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/CsvHelper.netstandard2.0.v3.ncrunchproject create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/CsvHelper.netstandard2.1.v3.ncrunchproject create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/CsvHelper.snk create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/CsvHelperException.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/CsvMode.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/CsvParser.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/CsvReader.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/CsvWriter.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Delegates/BadDataFound.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Delegates/ConvertFromString.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Delegates/ConvertToString.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Delegates/GetConstructor.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Delegates/GetDelimiter.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Delegates/GetDynamicPropertyName.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Delegates/HeaderValidated.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Delegates/MissingFieldFound.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Delegates/PrepareHeaderForMatch.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Delegates/ReadingExceptionOccurred.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Delegates/ReferenceHeaderPrefix.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Delegates/ShouldQuote.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Delegates/ShouldSkipRecord.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Delegates/ShouldUseConstructorParameters.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Delegates/Validate.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/EnumerableExtensions.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Expressions/DynamicRecordCreator.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Expressions/DynamicRecordWriter.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Expressions/ExpandoObjectRecordWriter.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Expressions/ExpressionManager.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Expressions/ObjectRecordCreator.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Expressions/ObjectRecordWriter.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Expressions/PrimitiveRecordCreator.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Expressions/PrimitiveRecordWriter.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Expressions/RecordCreator.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Expressions/RecordCreatorFactory.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Expressions/RecordHydrator.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Expressions/RecordManager.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Expressions/RecordWriter.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Expressions/RecordWriterFactory.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Factory.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/FieldCache.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/FieldValidationException.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/HeaderValidationException.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/IFactory.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/IObjectResolver.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/IParser.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/IReader.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/IReaderRow.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/IWriter.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/IWriterRow.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Icon.png create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/InvalidHeader.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/LinkedListExtensions.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/MaxFieldSizeException.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/MissingFieldException.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/ObjectCreator.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/ObjectResolver.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/ParserException.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/Properties/AssemblyInfo.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/ReaderException.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/ReflectionExtensions.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/ReflectionHelper.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/TypeConversion/ArrayConverter.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/TypeConversion/BigIntegerConverter.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/TypeConversion/BooleanConverter.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/TypeConversion/ByteArrayConverter.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/TypeConversion/ByteArrayConverterOptions.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/TypeConversion/ByteConverter.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/TypeConversion/CharConverter.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/TypeConversion/CollectionConverterFactory.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/TypeConversion/CollectionGenericConverter.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/TypeConversion/DateOnlyConverter.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/TypeConversion/DateTimeConverter.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/TypeConversion/DateTimeOffsetConverter.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/TypeConversion/DecimalConverter.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/TypeConversion/DefaultTypeConverter.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/TypeConversion/DoubleConverter.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/TypeConversion/EnumConverter.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/TypeConversion/EnumConverterFactory.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/TypeConversion/EnumerableConverter.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/TypeConversion/GuidConverter.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/TypeConversion/IDictionaryConverter.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/TypeConversion/IDictionaryGenericConverter.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/TypeConversion/IEnumerableConverter.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/TypeConversion/IEnumerableGenericConverter.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/TypeConversion/ITypeConverter.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/TypeConversion/ITypeConverterFactory.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/TypeConversion/Int16Converter.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/TypeConversion/Int32Converter.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/TypeConversion/Int64Converter.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/TypeConversion/NullableConverter.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/TypeConversion/NullableConverterFactory.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/TypeConversion/SByteConverter.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/TypeConversion/SingleConverter.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/TypeConversion/StringConverter.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/TypeConversion/TimeOnlyConverter.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/TypeConversion/TimeSpanConverter.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/TypeConversion/TypeConverter.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/TypeConversion/TypeConverterCache.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/TypeConversion/TypeConverterException.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/TypeConversion/TypeConverterOptions.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/TypeConversion/TypeConverterOptionsCache.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/TypeConversion/UInt16Converter.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/TypeConversion/UInt32Converter.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/TypeConversion/UInt64Converter.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/TypeConversion/UriConverter.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/ValidationException.cs create mode 100644 ThirdParty/CsvHelper-master/src/CsvHelper/WriterException.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/ArrayHelperTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Async/ReadingTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Async/WritingTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/AutoMapping/AutoMappingTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/AutoMapping/BaseClassTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/AutoMapping/CircularReferenceTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/AutoMapping/ContextTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/AutoMapping/IgnoreReferencesTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/AutoMapping/MappingTypeOfTypeTest.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/AutoMapping/StructTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/ClassMapOrderingTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Configuration/ClassMapBuilderTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Configuration/CsvClassMapCollectionTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/CsvClassMappingAutoMapTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/CsvConfigurationTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/CsvHelper.Tests.csproj create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/CsvHelper.Tests.net452.v3.ncrunchproject create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/CsvHelper.Tests.net47.v3.ncrunchproject create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/CsvHelper.Tests.net50.v3.ncrunchproject create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/CsvHelper.Tests.netcoreapp2.1.v3.ncrunchproject create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/CsvHelper.Tests.netcoreapp3.1.v3.ncrunchproject create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/CsvHelper.Tests.v3.ncrunchproject create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/CsvHelper.snk create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/CsvParserConstructorTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/CsvParserDelimiterTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/CsvParserRawRecordTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/CsvParserTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/CsvReaderConstructorTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/CsvReaderDefaultValueTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/CsvReaderDynamicMappingsTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/CsvReaderErrorMessageTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/CsvReaderMappingTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/CsvReaderReferenceMappingPrefixTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/CsvReaderReferenceMappingTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/CsvReaderSubClassingTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/CsvReaderTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/CsvWriterBoxedTypesTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/CsvWriterConstructorTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/CsvWriterFormatTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/CsvWriterMappingTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/CsvWriterReferenceMappingPrefixTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/CsvWriterReferenceMappingTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/CsvWriterSubClassingTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/CsvWriterTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Culture/TypeConverterOptionsFactoryTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/DataTableTests/CsvDataReaderTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Defaults/WritingDefaultsTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/DisposeTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/DynamicProxyTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/EnumerateRecordsTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Exceptions/ExceptionMessageTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Exceptions/ExceptionTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/HeaderValidationTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Issues/Issue1954.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Issues/Issue920.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/LocalCultureTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/MapPropertyMultipleTimesTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/MappingInheritedClassTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/Attribute/AllowCommentsTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/Attribute/BooleanValuesTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/Attribute/BufferSizeTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/Attribute/CacheFieldsTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/Attribute/CommentTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/Attribute/ConstantTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/Attribute/CountBytesTest.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/Attribute/DateTimeStylesTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/Attribute/DefaultTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/Attribute/DelimiterTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/Attribute/DetectColumnCountChangesTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/Attribute/DetectDelimiterTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/Attribute/DetectDelimiterValuesTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/Attribute/EncodingTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/Attribute/EnumIgnoreCaseTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/Attribute/EscapeTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/Attribute/ExceptionMessagesContainRawDataTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/Attribute/FormatTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/Attribute/HasHeaderRecordTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/Attribute/HeaderPrefixTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/Attribute/IgnoreBaseTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/Attribute/IgnoreBlankLinesTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/Attribute/IgnoreReferencesTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/Attribute/IgnoreTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/Attribute/IncludePrivateMembersTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/Attribute/IndexTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/Attribute/InjectionCharactersTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/Attribute/InjectionEscapeCharacterTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/Attribute/InjectionOptionsTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/Attribute/LineBreakInQuotedFieldIsBadDataTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/Attribute/MaxFieldSizeTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/Attribute/MemberTypesTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/Attribute/ModeTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/Attribute/NameIndexTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/Attribute/NameTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/Attribute/NewLineTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/Attribute/NullValuesTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/Attribute/NumberStylesTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/Attribute/OptionalTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/Attribute/ProcessFieldBufferSizeTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/Attribute/QuoteTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/Attribute/ReferenceTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/Attribute/TrimOptionsTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/Attribute/TypeConverterTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/Attribute/UseNewObjectForNullReferenceMembersTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/Attribute/WhiteSpaceCharsTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/ConstructorParameter/BooleanFalseValuesAttributeTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/ConstructorParameter/BooleanFalseValuesMapTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/ConstructorParameter/BooleanTrueValuesAttributeTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/ConstructorParameter/BooleanTrueValuesMapTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/ConstructorParameter/ConstantAttributeTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/ConstructorParameter/ConstantMapTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/ConstructorParameter/CultureInfoAttributeTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/ConstructorParameter/CultureInfoMapTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/ConstructorParameter/DateTimeStylesAttributeTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/ConstructorParameter/DateTimeStylesMapTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/ConstructorParameter/DefaultAttributeTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/ConstructorParameter/DefaultMapTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/ConstructorParameter/EnumIgnoreCaseTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/ConstructorParameter/FormatAttributeTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/ConstructorParameter/FormatMapTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/ConstructorParameter/HeaderPrefixAttributeTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/ConstructorParameter/HeaderPrefixMapTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/ConstructorParameter/IgnoreAttributeTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/ConstructorParameter/IgnoreMapTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/ConstructorParameter/IndexAttributeTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/ConstructorParameter/IndexMapTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/ConstructorParameter/NameAttributeTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/ConstructorParameter/NameIndexAttributeTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/ConstructorParameter/NameIndexMapTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/ConstructorParameter/NameMapTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/ConstructorParameter/NullValuesAttributeTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/ConstructorParameter/NullValuesMapTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/ConstructorParameter/NumberStylesAttributeTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/ConstructorParameter/NumberStylesMapTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/ConstructorParameter/OptionalAttributeTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/ConstructorParameter/OptionalMapTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/ConstructorParameter/TypeConverterAttributeTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/ConstructorParameter/TypeConverterMapTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/CsvClassMappingTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/FieldMappingTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/HiddenBaseMembersTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/IgnoreHeaderWhiteSpaceTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/MapConstructorTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/MappingWithNoHeaderTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/OptionalTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/Property/ConstantTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/ReferenceConstructorArgsTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/RuntimeMapping.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mappings/SubPropertyMappingTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mocks/DynamicObjectMock.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mocks/ParserMock.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mocks/ParserMockTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Mocks/ReaderRowMock.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/ObjectCreatorTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/ObjectResolverTests/Issue1073.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/ObjectResolverTests/ResolveSingleTypeTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Parsing/BadDataTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Parsing/BufferSplittingEscapeAndQuoteTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Parsing/BufferSplittingLineEndingTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Parsing/BufferSplittingNewLineEndingTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Parsing/ByteCountTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Parsing/CharCountTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Parsing/CommentTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Parsing/CrTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Parsing/CsvModeTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Parsing/DelimiterTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Parsing/DetectDelimiterTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Parsing/EndBufferTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Parsing/EscapeCharacterTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Parsing/ExcelCompatibilityTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Parsing/FieldCacheTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Parsing/MaxFieldSizeTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Parsing/NewLineTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Parsing/RefillingTextReaderTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Parsing/TrimTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Reading/AnonymousTypesTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Reading/BadDataTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Reading/ConstantTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Reading/ConstructorParametersTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Reading/DetectColumnCountChangesTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Reading/DynamicTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Reading/EmptyTextReaderTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Reading/MultipleGetRecordsTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Reading/MultipleHeadersTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Reading/NullableValuesInEmptyColumnsInputTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Reading/PrivateSettersInParentTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Reading/ReadHeaderTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Reading/ShouldSkipRecordTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Reading/TryGetTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Reading/ValidateTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Reading/YieldTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/ReferenceMappingClassMapTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/ReferenceMappingIndexTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Reflection/GetMemberExpressionStackTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/TestStringBuilder.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/TestStringWriter.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/TypeConversion/ArrayConverterTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/TypeConversion/BigIntegerConverterTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/TypeConversion/BooleanConverterTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/TypeConversion/ByteArrayConverterTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/TypeConversion/ByteConverterTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/TypeConversion/CharConverterTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/TypeConversion/CollectionGenericConverterTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/TypeConversion/DateOnlyConverterTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/TypeConversion/DateTimeConverterTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/TypeConversion/DateTimeOffsetConverterTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/TypeConversion/DefaultConverterTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/TypeConversion/DefaultValueTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/TypeConversion/DoubleConverterTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/TypeConversion/EnumConverterTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/TypeConversion/EnumerableConverterTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/TypeConversion/IDictionaryConverterTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/TypeConversion/IDictionaryGenericConverterTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/TypeConversion/IEnumerableConverterTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/TypeConversion/IEnumerableGenericConverterTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/TypeConversion/SingleConverterTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/TypeConversion/TimeOnlyConverterTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/TypeConversion/TimeSpanConverterTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/TypeConversion/TypeConverterCacheTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/TypeConversion/TypeConverterOptionsFactoryTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/TypeConversion/TypeConverterOptionsTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/TypeConversion/TypeConverterTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/TypeConversion/UriConverterTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Writing/AnonymousTypesTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Writing/ConstantTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Writing/CsvModeTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Writing/DynamicTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Writing/FieldTypeTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Writing/IAsyncEnumerableTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Writing/IgnoreTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Writing/InterfaceTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Writing/MultipleFieldsFromOnePropertyTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Writing/MultipleHeadersTest.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Writing/NewLineTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Writing/NoPropertyMappingTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Writing/SanitizationTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Writing/ShouldQuoteTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Writing/TrimTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Writing/WriteBufferTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Writing/WriteCustomEscapeTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/Writing/WriteNullTests.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/XunitException.cs create mode 100644 ThirdParty/CsvHelper-master/tests/CsvHelper.Tests/xunit.runner.json (limited to 'ThirdParty/CsvHelper-master') diff --git a/ThirdParty/CsvHelper-master/.editorconfig b/ThirdParty/CsvHelper-master/.editorconfig new file mode 100644 index 0000000..350d40c --- /dev/null +++ b/ThirdParty/CsvHelper-master/.editorconfig @@ -0,0 +1,124 @@ +# EditorConfig: http://EditorConfig.org + +# top-most EditorConfig file +root = true + +[*.cs] +indent_style = tab +end_of_line = crlf +trim_trailing_whitespace = true +insert_final_newline = true +csharp_indent_labels = one_less_than_current +csharp_space_around_binary_operators = before_and_after +csharp_using_directive_placement = outside_namespace:silent +csharp_prefer_simple_using_statement = true:suggestion +csharp_prefer_braces = true:silent +csharp_style_namespace_declarations = block_scoped:silent +csharp_style_expression_bodied_methods = false:silent +csharp_style_expression_bodied_constructors = false:silent +csharp_style_expression_bodied_operators = false:silent +csharp_style_expression_bodied_properties = true:silent +csharp_style_expression_bodied_indexers = true:silent +csharp_style_expression_bodied_accessors = true:silent +csharp_style_expression_bodied_lambdas = true:silent +csharp_style_expression_bodied_local_functions = false:silent +csharp_style_throw_expression = true:suggestion +csharp_style_prefer_null_check_over_type_check = true:suggestion +csharp_prefer_simple_default_expression = true:suggestion +csharp_style_prefer_local_over_anonymous_function = true:suggestion +csharp_style_prefer_index_operator = true:suggestion +csharp_style_prefer_range_operator = true:suggestion +csharp_style_implicit_object_creation_when_type_is_apparent = true:suggestion +csharp_style_prefer_tuple_swap = true:suggestion +csharp_style_inlined_variable_declaration = true:suggestion +csharp_style_deconstructed_variable_declaration = true:suggestion +csharp_style_unused_value_assignment_preference = discard_variable:suggestion +csharp_style_unused_value_expression_statement_preference = discard_variable:silent +csharp_style_var_for_built_in_types = true:silent +csharp_style_var_when_type_is_apparent = true:silent +csharp_style_var_elsewhere = true:silent +csharp_style_prefer_method_group_conversion = true:silent +csharp_style_prefer_top_level_statements = true:silent +csharp_style_prefer_utf8_string_literals = true:suggestion +csharp_prefer_static_local_function = true:suggestion +csharp_style_allow_embedded_statements_on_same_line_experimental = true:suggestion +csharp_style_allow_blank_lines_between_consecutive_braces_experimental = true:silent +csharp_style_allow_blank_line_after_colon_in_constructor_initializer_experimental = true:suggestion + +[*.yml] +indent_style = space +indent_size = 2 + +[*.{cs,vb}] +dotnet_style_operator_placement_when_wrapping = beginning_of_line +tab_width = 4 +indent_size = 4 +end_of_line = crlf +dotnet_style_coalesce_expression = true:suggestion +dotnet_style_null_propagation = true:suggestion +dotnet_style_prefer_is_null_check_over_reference_equality_method = true:suggestion +dotnet_style_prefer_auto_properties = true:silent +dotnet_style_object_initializer = true:suggestion +dotnet_style_collection_initializer = true:suggestion +dotnet_style_prefer_simplified_boolean_expressions = true:suggestion +dotnet_style_prefer_conditional_expression_over_assignment = true:silent +dotnet_style_prefer_conditional_expression_over_return = true:silent +dotnet_style_explicit_tuple_names = true:suggestion +dotnet_style_prefer_inferred_tuple_names = true:suggestion +dotnet_style_prefer_inferred_anonymous_type_member_names = true:suggestion +dotnet_style_prefer_compound_assignment = true:suggestion +dotnet_style_prefer_simplified_interpolation = true:suggestion +dotnet_style_namespace_match_folder = true:suggestion +dotnet_style_readonly_field = true:suggestion +[*.{cs,vb}] +#### Naming styles #### + +# Naming rules + +dotnet_naming_rule.interface_should_be_begins_with_i.severity = suggestion +dotnet_naming_rule.interface_should_be_begins_with_i.symbols = interface +dotnet_naming_rule.interface_should_be_begins_with_i.style = begins_with_i + +dotnet_naming_rule.types_should_be_pascal_case.severity = suggestion +dotnet_naming_rule.types_should_be_pascal_case.symbols = types +dotnet_naming_rule.types_should_be_pascal_case.style = pascal_case + +dotnet_naming_rule.non_field_members_should_be_pascal_case.severity = suggestion +dotnet_naming_rule.non_field_members_should_be_pascal_case.symbols = non_field_members +dotnet_naming_rule.non_field_members_should_be_pascal_case.style = pascal_case + +# Symbol specifications + +dotnet_naming_symbols.interface.applicable_kinds = interface +dotnet_naming_symbols.interface.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected +dotnet_naming_symbols.interface.required_modifiers = + +dotnet_naming_symbols.types.applicable_kinds = class, struct, interface, enum +dotnet_naming_symbols.types.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected +dotnet_naming_symbols.types.required_modifiers = + +dotnet_naming_symbols.non_field_members.applicable_kinds = property, event, method +dotnet_naming_symbols.non_field_members.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected +dotnet_naming_symbols.non_field_members.required_modifiers = + +# Naming styles + +dotnet_naming_style.begins_with_i.required_prefix = I +dotnet_naming_style.begins_with_i.required_suffix = +dotnet_naming_style.begins_with_i.word_separator = +dotnet_naming_style.begins_with_i.capitalization = pascal_case + +dotnet_naming_style.pascal_case.required_prefix = +dotnet_naming_style.pascal_case.required_suffix = +dotnet_naming_style.pascal_case.word_separator = +dotnet_naming_style.pascal_case.capitalization = pascal_case + +dotnet_naming_style.pascal_case.required_prefix = +dotnet_naming_style.pascal_case.required_suffix = +dotnet_naming_style.pascal_case.word_separator = +dotnet_naming_style.pascal_case.capitalization = pascal_case +dotnet_style_predefined_type_for_locals_parameters_members = true:silent +dotnet_style_predefined_type_for_member_access = true:silent +dotnet_style_require_accessibility_modifiers = for_non_interface_members:silent +dotnet_style_allow_multiple_blank_lines_experimental = true:suggestion +dotnet_style_allow_statement_immediately_after_block_experimental = true:suggestion diff --git a/ThirdParty/CsvHelper-master/.gitignore b/ThirdParty/CsvHelper-master/.gitignore new file mode 100644 index 0000000..d041040 --- /dev/null +++ b/ThirdParty/CsvHelper-master/.gitignore @@ -0,0 +1,11 @@ +.vs/ +bin/ +obj/ +_NCrunch_*/ +artifacts/ +.tmp/ +cache/ + +*.user +*.psess +*.log diff --git a/ThirdParty/CsvHelper-master/CsvHelper.sln b/ThirdParty/CsvHelper-master/CsvHelper.sln new file mode 100644 index 0000000..e576bed --- /dev/null +++ b/ThirdParty/CsvHelper-master/CsvHelper.sln @@ -0,0 +1,146 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.29411.108 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{6445B2A3-9E05-4ABF-AE2E-C875773B277A}" + ProjectSection(SolutionItems) = preProject + .editorconfig = .editorconfig + .gitignore = .gitignore + CsvHelper.sln.licenseheader = CsvHelper.sln.licenseheader + GitVersion.yml = GitVersion.yml + global.json = global.json + README.markdown = README.markdown + EndProjectSection +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CsvHelper", "src\CsvHelper\CsvHelper.csproj", "{ECF9E2A8-3592-4DA4-9FAB-BFA56AD44B9C}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CsvHelper.Tests", "tests\CsvHelper.Tests\CsvHelper.Tests.csproj", "{6859ECD8-81AE-4E74-A926-5726AAD7EE81}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "_build", "build\_build.csproj", "{B0E9C5E1-8A40-4BF7-AF08-6A6E179446A5}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CsvHelper.Performance", "performance\CsvHelper.Performance\CsvHelper.Performance.csproj", "{F1C225F2-92FC-41BB-94BF-733454DD2A9D}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CsvHelper.Website", "src\CsvHelper.Website\CsvHelper.Website.csproj", "{3E59CA52-D248-4CBB-BB06-270FA942C4B8}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Debug|ARM = Debug|ARM + Debug|Mixed Platforms = Debug|Mixed Platforms + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 + Release|Any CPU = Release|Any CPU + Release|ARM = Release|ARM + Release|Mixed Platforms = Release|Mixed Platforms + Release|x64 = Release|x64 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {ECF9E2A8-3592-4DA4-9FAB-BFA56AD44B9C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {ECF9E2A8-3592-4DA4-9FAB-BFA56AD44B9C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {ECF9E2A8-3592-4DA4-9FAB-BFA56AD44B9C}.Debug|ARM.ActiveCfg = Debug|Any CPU + {ECF9E2A8-3592-4DA4-9FAB-BFA56AD44B9C}.Debug|ARM.Build.0 = Debug|Any CPU + {ECF9E2A8-3592-4DA4-9FAB-BFA56AD44B9C}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU + {ECF9E2A8-3592-4DA4-9FAB-BFA56AD44B9C}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU + {ECF9E2A8-3592-4DA4-9FAB-BFA56AD44B9C}.Debug|x64.ActiveCfg = Debug|Any CPU + {ECF9E2A8-3592-4DA4-9FAB-BFA56AD44B9C}.Debug|x64.Build.0 = Debug|Any CPU + {ECF9E2A8-3592-4DA4-9FAB-BFA56AD44B9C}.Debug|x86.ActiveCfg = Debug|Any CPU + {ECF9E2A8-3592-4DA4-9FAB-BFA56AD44B9C}.Debug|x86.Build.0 = Debug|Any CPU + {ECF9E2A8-3592-4DA4-9FAB-BFA56AD44B9C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {ECF9E2A8-3592-4DA4-9FAB-BFA56AD44B9C}.Release|Any CPU.Build.0 = Release|Any CPU + {ECF9E2A8-3592-4DA4-9FAB-BFA56AD44B9C}.Release|ARM.ActiveCfg = Release|Any CPU + {ECF9E2A8-3592-4DA4-9FAB-BFA56AD44B9C}.Release|ARM.Build.0 = Release|Any CPU + {ECF9E2A8-3592-4DA4-9FAB-BFA56AD44B9C}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU + {ECF9E2A8-3592-4DA4-9FAB-BFA56AD44B9C}.Release|Mixed Platforms.Build.0 = Release|Any CPU + {ECF9E2A8-3592-4DA4-9FAB-BFA56AD44B9C}.Release|x64.ActiveCfg = Release|Any CPU + {ECF9E2A8-3592-4DA4-9FAB-BFA56AD44B9C}.Release|x64.Build.0 = Release|Any CPU + {ECF9E2A8-3592-4DA4-9FAB-BFA56AD44B9C}.Release|x86.ActiveCfg = Release|Any CPU + {ECF9E2A8-3592-4DA4-9FAB-BFA56AD44B9C}.Release|x86.Build.0 = Release|Any CPU + {6859ECD8-81AE-4E74-A926-5726AAD7EE81}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {6859ECD8-81AE-4E74-A926-5726AAD7EE81}.Debug|Any CPU.Build.0 = Debug|Any CPU + {6859ECD8-81AE-4E74-A926-5726AAD7EE81}.Debug|ARM.ActiveCfg = Debug|Any CPU + {6859ECD8-81AE-4E74-A926-5726AAD7EE81}.Debug|ARM.Build.0 = Debug|Any CPU + {6859ECD8-81AE-4E74-A926-5726AAD7EE81}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU + {6859ECD8-81AE-4E74-A926-5726AAD7EE81}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU + {6859ECD8-81AE-4E74-A926-5726AAD7EE81}.Debug|x64.ActiveCfg = Debug|Any CPU + {6859ECD8-81AE-4E74-A926-5726AAD7EE81}.Debug|x64.Build.0 = Debug|Any CPU + {6859ECD8-81AE-4E74-A926-5726AAD7EE81}.Debug|x86.ActiveCfg = Debug|Any CPU + {6859ECD8-81AE-4E74-A926-5726AAD7EE81}.Debug|x86.Build.0 = Debug|Any CPU + {6859ECD8-81AE-4E74-A926-5726AAD7EE81}.Release|Any CPU.ActiveCfg = Release|Any CPU + {6859ECD8-81AE-4E74-A926-5726AAD7EE81}.Release|Any CPU.Build.0 = Release|Any CPU + {6859ECD8-81AE-4E74-A926-5726AAD7EE81}.Release|ARM.ActiveCfg = Release|Any CPU + {6859ECD8-81AE-4E74-A926-5726AAD7EE81}.Release|ARM.Build.0 = Release|Any CPU + {6859ECD8-81AE-4E74-A926-5726AAD7EE81}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU + {6859ECD8-81AE-4E74-A926-5726AAD7EE81}.Release|Mixed Platforms.Build.0 = Release|Any CPU + {6859ECD8-81AE-4E74-A926-5726AAD7EE81}.Release|x64.ActiveCfg = Release|Any CPU + {6859ECD8-81AE-4E74-A926-5726AAD7EE81}.Release|x64.Build.0 = Release|Any CPU + {6859ECD8-81AE-4E74-A926-5726AAD7EE81}.Release|x86.ActiveCfg = Release|Any CPU + {6859ECD8-81AE-4E74-A926-5726AAD7EE81}.Release|x86.Build.0 = Release|Any CPU + {B0E9C5E1-8A40-4BF7-AF08-6A6E179446A5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B0E9C5E1-8A40-4BF7-AF08-6A6E179446A5}.Debug|ARM.ActiveCfg = Debug|Any CPU + {B0E9C5E1-8A40-4BF7-AF08-6A6E179446A5}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU + {B0E9C5E1-8A40-4BF7-AF08-6A6E179446A5}.Debug|x64.ActiveCfg = Debug|Any CPU + {B0E9C5E1-8A40-4BF7-AF08-6A6E179446A5}.Debug|x86.ActiveCfg = Debug|Any CPU + {B0E9C5E1-8A40-4BF7-AF08-6A6E179446A5}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B0E9C5E1-8A40-4BF7-AF08-6A6E179446A5}.Release|ARM.ActiveCfg = Release|Any CPU + {B0E9C5E1-8A40-4BF7-AF08-6A6E179446A5}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU + {B0E9C5E1-8A40-4BF7-AF08-6A6E179446A5}.Release|x64.ActiveCfg = Release|Any CPU + {B0E9C5E1-8A40-4BF7-AF08-6A6E179446A5}.Release|x86.ActiveCfg = Release|Any CPU + {F1C225F2-92FC-41BB-94BF-733454DD2A9D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F1C225F2-92FC-41BB-94BF-733454DD2A9D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F1C225F2-92FC-41BB-94BF-733454DD2A9D}.Debug|ARM.ActiveCfg = Debug|Any CPU + {F1C225F2-92FC-41BB-94BF-733454DD2A9D}.Debug|ARM.Build.0 = Debug|Any CPU + {F1C225F2-92FC-41BB-94BF-733454DD2A9D}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU + {F1C225F2-92FC-41BB-94BF-733454DD2A9D}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU + {F1C225F2-92FC-41BB-94BF-733454DD2A9D}.Debug|x64.ActiveCfg = Debug|Any CPU + {F1C225F2-92FC-41BB-94BF-733454DD2A9D}.Debug|x64.Build.0 = Debug|Any CPU + {F1C225F2-92FC-41BB-94BF-733454DD2A9D}.Debug|x86.ActiveCfg = Debug|Any CPU + {F1C225F2-92FC-41BB-94BF-733454DD2A9D}.Debug|x86.Build.0 = Debug|Any CPU + {F1C225F2-92FC-41BB-94BF-733454DD2A9D}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F1C225F2-92FC-41BB-94BF-733454DD2A9D}.Release|Any CPU.Build.0 = Release|Any CPU + {F1C225F2-92FC-41BB-94BF-733454DD2A9D}.Release|ARM.ActiveCfg = Release|Any CPU + {F1C225F2-92FC-41BB-94BF-733454DD2A9D}.Release|ARM.Build.0 = Release|Any CPU + {F1C225F2-92FC-41BB-94BF-733454DD2A9D}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU + {F1C225F2-92FC-41BB-94BF-733454DD2A9D}.Release|Mixed Platforms.Build.0 = Release|Any CPU + {F1C225F2-92FC-41BB-94BF-733454DD2A9D}.Release|x64.ActiveCfg = Release|Any CPU + {F1C225F2-92FC-41BB-94BF-733454DD2A9D}.Release|x64.Build.0 = Release|Any CPU + {F1C225F2-92FC-41BB-94BF-733454DD2A9D}.Release|x86.ActiveCfg = Release|Any CPU + {F1C225F2-92FC-41BB-94BF-733454DD2A9D}.Release|x86.Build.0 = Release|Any CPU + {3E59CA52-D248-4CBB-BB06-270FA942C4B8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {3E59CA52-D248-4CBB-BB06-270FA942C4B8}.Debug|Any CPU.Build.0 = Debug|Any CPU + {3E59CA52-D248-4CBB-BB06-270FA942C4B8}.Debug|ARM.ActiveCfg = Debug|Any CPU + {3E59CA52-D248-4CBB-BB06-270FA942C4B8}.Debug|ARM.Build.0 = Debug|Any CPU + {3E59CA52-D248-4CBB-BB06-270FA942C4B8}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU + {3E59CA52-D248-4CBB-BB06-270FA942C4B8}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU + {3E59CA52-D248-4CBB-BB06-270FA942C4B8}.Debug|x64.ActiveCfg = Debug|Any CPU + {3E59CA52-D248-4CBB-BB06-270FA942C4B8}.Debug|x64.Build.0 = Debug|Any CPU + {3E59CA52-D248-4CBB-BB06-270FA942C4B8}.Debug|x86.ActiveCfg = Debug|Any CPU + {3E59CA52-D248-4CBB-BB06-270FA942C4B8}.Debug|x86.Build.0 = Debug|Any CPU + {3E59CA52-D248-4CBB-BB06-270FA942C4B8}.Release|Any CPU.ActiveCfg = Release|Any CPU + {3E59CA52-D248-4CBB-BB06-270FA942C4B8}.Release|Any CPU.Build.0 = Release|Any CPU + {3E59CA52-D248-4CBB-BB06-270FA942C4B8}.Release|ARM.ActiveCfg = Release|Any CPU + {3E59CA52-D248-4CBB-BB06-270FA942C4B8}.Release|ARM.Build.0 = Release|Any CPU + {3E59CA52-D248-4CBB-BB06-270FA942C4B8}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU + {3E59CA52-D248-4CBB-BB06-270FA942C4B8}.Release|Mixed Platforms.Build.0 = Release|Any CPU + {3E59CA52-D248-4CBB-BB06-270FA942C4B8}.Release|x64.ActiveCfg = Release|Any CPU + {3E59CA52-D248-4CBB-BB06-270FA942C4B8}.Release|x64.Build.0 = Release|Any CPU + {3E59CA52-D248-4CBB-BB06-270FA942C4B8}.Release|x86.ActiveCfg = Release|Any CPU + {3E59CA52-D248-4CBB-BB06-270FA942C4B8}.Release|x86.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {7F48D3EE-214D-45F4-AC6A-3E95C3A25E9F} + EndGlobalSection + GlobalSection(Performance) = preSolution + HasPerformanceSessions = true + EndGlobalSection + GlobalSection(Performance) = preSolution + HasPerformanceSessions = true + EndGlobalSection + GlobalSection(Performance) = preSolution + HasPerformanceSessions = true + EndGlobalSection +EndGlobal diff --git a/ThirdParty/CsvHelper-master/CsvHelper.sln.licenseheader b/ThirdParty/CsvHelper-master/CsvHelper.sln.licenseheader new file mode 100644 index 0000000..9938f0b --- /dev/null +++ b/ThirdParty/CsvHelper-master/CsvHelper.sln.licenseheader @@ -0,0 +1,32 @@ +extensions: designer.cs generated.cs +extensions: .cs .cpp .h +// Copyright 2009-2022 Josh Close +// This file is a part of CsvHelper and is dual licensed under MS-PL and Apache 2.0. +// See LICENSE.txt for details or visit http://www.opensource.org/licenses/ms-pl.html for MS-PL and http://opensource.org/licenses/Apache-2.0 for Apache 2.0. +// https://github.com/JoshClose/CsvHelper +extensions: .aspx .ascx +<%-- +Copyright 2009-2022 Josh Close +This file is a part of CsvHelper and is dual licensed under MS-PL and Apache 2.0. +See LICENSE.txt for details or visit http://www.opensource.org/licenses/ms-pl.html for MS-PL and http://opensource.org/licenses/Apache-2.0 for Apache 2.0. +https://github.com/JoshClose/CsvHelper +--%> +extensions: .vb +' Copyright 2009-2022 Josh Close +' This file is a part of CsvHelper and is dual licensed under MS-PL and Apache 2.0. +' See LICENSE.txt for details or visit http://www.opensource.org/licenses/ms-pl.html for MS-PL and http://opensource.org/licenses/Apache-2.0 for Apache 2.0. +' https://github.com/JoshClose/CsvHelper +extensions: .xml .config .xsd + +extenions: .tt +<# +// Copyright 2009-2022 Josh Close +// This file is a part of CsvHelper and is dual licensed under MS-PL and Apache 2.0. +// See LICENSE.txt for details or visit http://www.opensource.org/licenses/ms-pl.html for MS-PL and http://opensource.org/licenses/Apache-2.0 for Apache 2.0. +// https://github.com/JoshClose/CsvHelper +#> diff --git a/ThirdParty/CsvHelper-master/CsvHelper.v3.ncrunchsolution b/ThirdParty/CsvHelper-master/CsvHelper.v3.ncrunchsolution new file mode 100644 index 0000000..c0d9e77 --- /dev/null +++ b/ThirdParty/CsvHelper-master/CsvHelper.v3.ncrunchsolution @@ -0,0 +1,7 @@ + + + True + Optimised + True + + \ No newline at end of file diff --git a/ThirdParty/CsvHelper-master/CsvHelperDependencies.linq b/ThirdParty/CsvHelper-master/CsvHelperDependencies.linq new file mode 100644 index 0000000..03bc6d6 --- /dev/null +++ b/ThirdParty/CsvHelper-master/CsvHelperDependencies.linq @@ -0,0 +1,8 @@ + + +var el = XElement.Load(@"https://packages.nuget.org/v1/FeedService.svc/Packages?$filter=substringof(%27CsvHelper%27,%20Dependencies)%20eq%20true&$select=Id,Dependencies"); +//el.Attributes().Dump(); +XNamespace nsm = "http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"; +XNamespace nsd = "http://schemas.microsoft.com/ado/2007/08/dataservices"; +el.Descendants(nsd + "Id").Select(n => n.Value).Distinct().Dump(); +el.Dump(); diff --git a/ThirdParty/CsvHelper-master/GitVersion.yml b/ThirdParty/CsvHelper-master/GitVersion.yml new file mode 100644 index 0000000..9812dbf --- /dev/null +++ b/ThirdParty/CsvHelper-master/GitVersion.yml @@ -0,0 +1,11 @@ +#next-version: 21.0.5 +assembly-versioning-scheme: Major +assembly-file-versioning-format: '{Major}.{Minor}.{Patch}.{env:BUILD_NUMBER ?? 0}' +branches: + configuration-constructor: + regex: configuration-constructor + source-branches: [ 'master' ] + tag: beta +ignore: + sha: [] +merge-message-formats: {} diff --git a/ThirdParty/CsvHelper-master/LICENSE.txt b/ThirdParty/CsvHelper-master/LICENSE.txt new file mode 100644 index 0000000..0d4fcca --- /dev/null +++ b/ThirdParty/CsvHelper-master/LICENSE.txt @@ -0,0 +1,104 @@ +Dual licensing under MS-PL and Apache 2.0 + +Microsoft Public License (MS-PL) + +This license governs use of the accompanying software. If you use the software, you accept this license. If you do not accept the license, do not use the software. + + 1. Definitions + The terms "reproduce," "reproduction," "derivative works," and "distribution" have the same meaning here as under U.S. copyright law. A "contribution" is the original software, or any additions or changes to the software. A "contributor" is any person that distributes its contribution under this license. "Licensed patents" are a contributor's patent claims that read directly on its contribution. + 2. Grant of Rights + (A) Copyright Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free copyright license to reproduce its contribution, prepare derivative works of its contribution, and distribute its contribution or any derivative works that you create. + (B) Patent Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free license under its licensed patents to make, have made, use, sell, offer for sale, import, and/or otherwise dispose of its contribution in the software or derivative works of the contribution in the software. + 3. Conditions and Limitations + (A) No Trademark License- This license does not grant you rights to use any contributors' name, logo, or trademarks. + (B) If you bring a patent claim against any contributor over patents that you claim are infringed by the software, your patent license from such contributor to the software ends automatically. + (C) If you distribute any portion of the software, you must retain all copyright, patent, trademark, and attribution notices that are present in the software. + (D) If you distribute any portion of the software in source code form, you may do so only under this license by including a complete copy of this license with your distribution. If you distribute any portion of the software in compiled or object code form, you may only do so under a license that complies with this license. + (E) The software is licensed "as-is." You bear the risk of using it. The contributors give no express warranties, guarantees, or conditions. You may have additional consumer rights under your local laws which this license cannot change. To the extent permitted under your local laws, the contributors exclude the implied warranties of merchantability, fitness for a particular purpose and non-infringement. + +Apache License, Version 2.0 +Apache License +Version 2.0, January 2004 +http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + +"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + +"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + +"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + +"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + +"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + +"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + +"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + +"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + +"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + +"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + +2. Grant of Copyright License. + +Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. + +Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + +4. Redistribution. + +You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + +You must give any other recipients of the Work or Derivative Works a copy of this License; and +You must cause any modified files to carry prominent notices stating that You changed the files; and +You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and +If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. +You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + +5. Submission of Contributions. + +Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + +6. Trademarks. + +This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. + +Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. + +In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. + +While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work + +To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/ThirdParty/CsvHelper-master/README.markdown b/ThirdParty/CsvHelper-master/README.markdown new file mode 100644 index 0000000..2b7cbf0 --- /dev/null +++ b/ThirdParty/CsvHelper-master/README.markdown @@ -0,0 +1,77 @@ +# CsvHelper + +[![Join the chat at https://gitter.im/CsvHelper/Lobby](https://badges.gitter.im/CsvHelper/Lobby.svg)](https://gitter.im/CsvHelper/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) +[![Backers on Open Collective](https://opencollective.com/csvhelper/backers/badge.svg)](#backers) +[![Sponsors on Open Collective](https://opencollective.com/csvhelper/sponsors/badge.svg)](#sponsors) +NuGet Version +NuGet Download Count + +A library for reading and writing CSV files. Extremely fast, flexible, and easy to use. Supports reading and writing of custom class objects. + +## Install + +### Package Manager Console + +``` +PM> Install-Package CsvHelper +``` + +### .NET CLI Console + +``` +> dotnet add package CsvHelper +``` + +## Documentation + +http://joshclose.github.io/CsvHelper/ + +### Building the Documentation + +1. Install [node.js](https://nodejs.org/en/download/). +1. Go into the `CsvHelper/docs-src` folder. +1. Run `npm start` to start a local test site. Make any changes needed. +1. Run `npm run build` to build the documentation files that are output to `CsvHelper/docs`. + +## License + +Dual licensed + +Microsoft Public License (MS-PL) + +http://www.opensource.org/licenses/MS-PL + +Apache License, Version 2.0 + +http://opensource.org/licenses/Apache-2.0 + +## Contributing + +Want to contribute? Great! Here are a few guidelines. + +1. If you want to do a feature, post an issue about the feature first. Some features are intentionally left out, some features may already be in the works, or I may have some advice on how I think it should be done. I would feel bad if time was spent on some code that won't be used. +2. If you want to do a bug fix, it might not be a bad idea to post about it too. I've had the same bug fixed by multiple people at the same time before. +3. All code should have a unit test. If you make a feature, there should be significant tests around the feature. If you do a bug fix, there should be a test specific to that bug so it doesn't happen again. +4. Pull requests should have a single commit. If you have multiple commits, squash them into a single commit before requesting a pull. +5. Try and follow the code styling already in place. If you have ReSharper there is a dotsettings file included and things should automatically be formatted for you. + +## Credits + +### Contributors + +This project exists thanks to all the people who contribute. [[Contribute](CONTRIBUTING.md)]. + + + +### Backers + +Thank you to all our backers! 🙏 [[Become a backer](https://opencollective.com/csvhelper#backer)] + + + +### Sponsors + +Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [[Become a sponsor](https://opencollective.com/csvhelper#sponsor)] + + + diff --git a/ThirdParty/CsvHelper-master/Unity Build.bat b/ThirdParty/CsvHelper-master/Unity Build.bat new file mode 100644 index 0000000..b22144e --- /dev/null +++ b/ThirdParty/CsvHelper-master/Unity Build.bat @@ -0,0 +1,5 @@ +rmdir /S /Q unity\Assets\CsvHelper + +dotnet build src\CsvHelper\CsvHelper.csproj -c release -o ..\..\unity\Assets\CsvHelper + +pause diff --git a/ThirdParty/CsvHelper-master/build.cmd b/ThirdParty/CsvHelper-master/build.cmd new file mode 100644 index 0000000..b08cc59 --- /dev/null +++ b/ThirdParty/CsvHelper-master/build.cmd @@ -0,0 +1,7 @@ +:; set -eo pipefail +:; SCRIPT_DIR=$(cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd) +:; ${SCRIPT_DIR}/build.sh "$@" +:; exit $? + +@ECHO OFF +powershell -ExecutionPolicy ByPass -NoProfile -File "%~dp0build.ps1" %* diff --git a/ThirdParty/CsvHelper-master/build.ps1 b/ThirdParty/CsvHelper-master/build.ps1 new file mode 100644 index 0000000..1c774e5 --- /dev/null +++ b/ThirdParty/CsvHelper-master/build.ps1 @@ -0,0 +1,69 @@ +[CmdletBinding()] +Param( + [Parameter(Position=0,Mandatory=$false,ValueFromRemainingArguments=$true)] + [string[]]$BuildArguments +) + +Write-Output "PowerShell $($PSVersionTable.PSEdition) version $($PSVersionTable.PSVersion)" + +Set-StrictMode -Version 2.0; $ErrorActionPreference = "Stop"; $ConfirmPreference = "None"; trap { Write-Error $_ -ErrorAction Continue; exit 1 } +$PSScriptRoot = Split-Path $MyInvocation.MyCommand.Path -Parent + +########################################################################### +# CONFIGURATION +########################################################################### + +$BuildProjectFile = "$PSScriptRoot\build\_build.csproj" +$TempDirectory = "$PSScriptRoot\\.nuke\temp" + +$DotNetGlobalFile = "$PSScriptRoot\\global.json" +$DotNetInstallUrl = "https://dot.net/v1/dotnet-install.ps1" +$DotNetChannel = "Current" + +$env:DOTNET_SKIP_FIRST_TIME_EXPERIENCE = 1 +$env:DOTNET_CLI_TELEMETRY_OPTOUT = 1 +$env:DOTNET_MULTILEVEL_LOOKUP = 0 + +########################################################################### +# EXECUTION +########################################################################### + +function ExecSafe([scriptblock] $cmd) { + & $cmd + if ($LASTEXITCODE) { exit $LASTEXITCODE } +} + +# If dotnet CLI is installed globally and it matches requested version, use for execution +if ($null -ne (Get-Command "dotnet" -ErrorAction SilentlyContinue) -and ` + $(dotnet --version) -and $LASTEXITCODE -eq 0) { + $env:DOTNET_EXE = (Get-Command "dotnet").Path +} +else { + # Download install script + $DotNetInstallFile = "$TempDirectory\dotnet-install.ps1" + New-Item -ItemType Directory -Path $TempDirectory -Force | Out-Null + [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 + (New-Object System.Net.WebClient).DownloadFile($DotNetInstallUrl, $DotNetInstallFile) + + # If global.json exists, load expected version + if (Test-Path $DotNetGlobalFile) { + $DotNetGlobal = $(Get-Content $DotNetGlobalFile | Out-String | ConvertFrom-Json) + if ($DotNetGlobal.PSObject.Properties["sdk"] -and $DotNetGlobal.sdk.PSObject.Properties["version"]) { + $DotNetVersion = $DotNetGlobal.sdk.version + } + } + + # Install by channel or version + $DotNetDirectory = "$TempDirectory\dotnet-win" + if (!(Test-Path variable:DotNetVersion)) { + ExecSafe { & powershell $DotNetInstallFile -InstallDir $DotNetDirectory -Channel $DotNetChannel -NoPath } + } else { + ExecSafe { & powershell $DotNetInstallFile -InstallDir $DotNetDirectory -Version $DotNetVersion -NoPath } + } + $env:DOTNET_EXE = "$DotNetDirectory\dotnet.exe" +} + +Write-Output "Microsoft (R) .NET Core SDK version $(& $env:DOTNET_EXE --version)" + +ExecSafe { & $env:DOTNET_EXE build $BuildProjectFile /nodeReuse:false /p:UseSharedCompilation=false -nologo -clp:NoSummary --verbosity quiet } +ExecSafe { & $env:DOTNET_EXE run --project $BuildProjectFile --no-build -- $BuildArguments } diff --git a/ThirdParty/CsvHelper-master/build.sh b/ThirdParty/CsvHelper-master/build.sh new file mode 100644 index 0000000..e8961f9 --- /dev/null +++ b/ThirdParty/CsvHelper-master/build.sh @@ -0,0 +1,62 @@ +#!/usr/bin/env bash + +bash --version 2>&1 | head -n 1 + +set -eo pipefail +SCRIPT_DIR=$(cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd) + +########################################################################### +# CONFIGURATION +########################################################################### + +BUILD_PROJECT_FILE="$SCRIPT_DIR/build/_build.csproj" +TEMP_DIRECTORY="$SCRIPT_DIR//.nuke/temp" + +DOTNET_GLOBAL_FILE="$SCRIPT_DIR//global.json" +DOTNET_INSTALL_URL="https://dot.net/v1/dotnet-install.sh" +DOTNET_CHANNEL="Current" + +export DOTNET_CLI_TELEMETRY_OPTOUT=1 +export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1 +export DOTNET_MULTILEVEL_LOOKUP=0 + +########################################################################### +# EXECUTION +########################################################################### + +function FirstJsonValue { + perl -nle 'print $1 if m{"'"$1"'": "([^"]+)",?}' <<< "${@:2}" +} + +# If dotnet CLI is installed globally and it matches requested version, use for execution +if [ -x "$(command -v dotnet)" ] && dotnet --version &>/dev/null; then + export DOTNET_EXE="$(command -v dotnet)" +else + # Download install script + DOTNET_INSTALL_FILE="$TEMP_DIRECTORY/dotnet-install.sh" + mkdir -p "$TEMP_DIRECTORY" + curl -Lsfo "$DOTNET_INSTALL_FILE" "$DOTNET_INSTALL_URL" + chmod +x "$DOTNET_INSTALL_FILE" + + # If global.json exists, load expected version + if [[ -f "$DOTNET_GLOBAL_FILE" ]]; then + DOTNET_VERSION=$(FirstJsonValue "version" "$(cat "$DOTNET_GLOBAL_FILE")") + if [[ "$DOTNET_VERSION" == "" ]]; then + unset DOTNET_VERSION + fi + fi + + # Install by channel or version + DOTNET_DIRECTORY="$TEMP_DIRECTORY/dotnet-unix" + if [[ -z ${DOTNET_VERSION+x} ]]; then + "$DOTNET_INSTALL_FILE" --install-dir "$DOTNET_DIRECTORY" --channel "$DOTNET_CHANNEL" --no-path + else + "$DOTNET_INSTALL_FILE" --install-dir "$DOTNET_DIRECTORY" --version "$DOTNET_VERSION" --no-path + fi + export DOTNET_EXE="$DOTNET_DIRECTORY/dotnet" +fi + +echo "Microsoft (R) .NET Core SDK version $("$DOTNET_EXE" --version)" + +"$DOTNET_EXE" build "$BUILD_PROJECT_FILE" /nodeReuse:false /p:UseSharedCompilation=false -nologo -clp:NoSummary --verbosity quiet +"$DOTNET_EXE" run --project "$BUILD_PROJECT_FILE" --no-build -- "$@" diff --git a/ThirdParty/CsvHelper-master/build/.editorconfig b/ThirdParty/CsvHelper-master/build/.editorconfig new file mode 100644 index 0000000..31e43dc --- /dev/null +++ b/ThirdParty/CsvHelper-master/build/.editorconfig @@ -0,0 +1,11 @@ +[*.cs] +dotnet_style_qualification_for_field = false:warning +dotnet_style_qualification_for_property = false:warning +dotnet_style_qualification_for_method = false:warning +dotnet_style_qualification_for_event = false:warning +dotnet_style_require_accessibility_modifiers = never:warning + +csharp_style_expression_bodied_methods = true:silent +csharp_style_expression_bodied_properties = true:warning +csharp_style_expression_bodied_indexers = true:warning +csharp_style_expression_bodied_accessors = true:warning diff --git a/ThirdParty/CsvHelper-master/build/Build.cs b/ThirdParty/CsvHelper-master/build/Build.cs new file mode 100644 index 0000000..0d5a61c --- /dev/null +++ b/ThirdParty/CsvHelper-master/build/Build.cs @@ -0,0 +1,156 @@ +// Copyright 2009-2021 Josh Close +// This file is a part of CsvHelper and is dual licensed under MS-PL and Apache 2.0. +// See LICENSE.txt for details or visit http://www.opensource.org/licenses/ms-pl.html for MS-PL and http://opensource.org/licenses/Apache-2.0 for Apache 2.0. +// https://github.com/JoshClose/CsvHelper +using System; +using System.Linq; +using Nuke.Common; +using Nuke.Common.CI; +using Nuke.Common.Execution; +using Nuke.Common.Git; +using Nuke.Common.IO; +using Nuke.Common.ProjectModel; +using Nuke.Common.Tooling; +using Nuke.Common.Tools.DotNet; +using Nuke.Common.Tools.GitVersion; +using Nuke.Common.Utilities.Collections; +using static Nuke.Common.IO.FileSystemTasks; +using static Nuke.Common.IO.PathConstruction; +using static Nuke.Common.Tools.DotNet.DotNetTasks; + +[CheckBuildProjectConfigurations] +[UnsetVisualStudioEnvironmentVariables] +class Build : NukeBuild +{ + /// Support plugins are available for: + /// - JetBrains ReSharper https://nuke.build/resharper + /// - JetBrains Rider https://nuke.build/rider + /// - Microsoft VisualStudio https://nuke.build/visualstudio + /// - Microsoft VSCode https://nuke.build/vscode + + public static int Main() => Execute(x => x.Test); + + [Parameter("Configuration to build - Default is 'Debug' (local) or 'Release' (server)")] + readonly Configuration Configuration = IsLocalBuild ? Configuration.Debug : Configuration.Release; + [Parameter("NuGet server URL.")] + readonly string NugetSource = "https://api.nuget.org/v3/index.json"; + [Parameter("API Key for the NuGet server.")] + readonly string NugetApiKey; + [Parameter("Version to use for package.")] + readonly string Version; + [Parameter("NuGet package version.")] + readonly string PackageVersion; + + [Solution] + readonly Solution Solution; + [GitRepository] + readonly GitRepository GitRepository; + [GitVersion] + readonly GitVersion GitVersion; + + AbsolutePath SourceDirectory => RootDirectory / "src"; + AbsolutePath TestsDirectory => RootDirectory / "tests"; + AbsolutePath ArtifactsDirectory => RootDirectory / "artifacts"; + AbsolutePath DocsDirectory => RootDirectory / "docs"; + + Project CsvHelperProject => Solution.GetProject("CsvHelper"); + Project DocsProject => Solution.GetProject("CsvHelper.Website"); + + Target Clean => _ => _ + .Before(Restore) + .Executes(() => + { + SourceDirectory.GlobDirectories("**/bin", "**/obj").ForEach(DeleteDirectory); + TestsDirectory.GlobDirectories("**/bin", "**/obj").ForEach(DeleteDirectory); + EnsureCleanDirectory(ArtifactsDirectory); + }); + + Target Restore => _ => _ + .Executes(() => + { + DotNetRestore(s => s + .SetProjectFile(Solution) + ); + }); + + Target Compile => _ => _ + .DependsOn(Restore) + .Executes(() => + { + DotNetBuild(s => s + .EnableNoRestore() + .SetProjectFile(Solution) + .SetConfiguration(Configuration) + .SetAssemblyVersion(GitVersion.AssemblySemVer) + .SetFileVersion(GitVersion.AssemblySemFileVer) + .SetInformationalVersion(GitVersion.InformationalVersion) + ); + + DotNetPublish(s => s + .EnableNoRestore() + .EnableNoBuild() + .SetConfiguration(Configuration) + .SetAssemblyVersion(GitVersion.AssemblySemVer) + .SetFileVersion(GitVersion.AssemblySemFileVer) + .SetInformationalVersion(GitVersion.InformationalVersion) + .CombineWith( + from project in new[] { CsvHelperProject } + from framework in project.GetTargetFrameworks() + select new { project, framework }, (cs, v) => cs + .SetProject(v.project) + .SetFramework(v.framework) + ) + ); + }); + + Target Test => _ => _ + .DependsOn(Compile) + .Executes(() => + { + DotNetTest(s => s + .SetProjectFile(Solution) + .SetConfiguration(Configuration) + .EnableNoRestore() + .EnableNoBuild() + ); + }); + + Target Pack => _ => _ + .DependsOn(Clean, Test) + .Requires(() => Configuration == Configuration.Release) + .Executes(() => + { + DotNetPack(s => s + .EnableNoRestore() + .EnableNoBuild() + .SetProject(CsvHelperProject) + .SetConfiguration(Configuration) + .SetOutputDirectory(ArtifactsDirectory) + .SetProperty("PackageVersion", PackageVersion ?? GitVersion.NuGetVersionV2) + ); + }); + + Target Push => _ => _ + .Executes(() => + { + DotNetNuGetPush(s => s + .SetSource(NugetSource) + .SetApiKey(NugetApiKey) + .CombineWith(ArtifactsDirectory.GlobFiles("*.nupkg"), (s, v) => s + .SetTargetPath(v) + ) + ); + }); + + Target Docs => _ => _ + .Executes(() => + { + EnsureCleanDirectory(DocsDirectory); + + DotNetRun(s => s + .SetProjectFile(DocsProject) + .SetConfiguration(Configuration.Release) + .SetApplicationArguments($"-o \"{DocsDirectory}\"") + ); + }); +} diff --git a/ThirdParty/CsvHelper-master/build/Configuration.cs b/ThirdParty/CsvHelper-master/build/Configuration.cs new file mode 100644 index 0000000..ba605b2 --- /dev/null +++ b/ThirdParty/CsvHelper-master/build/Configuration.cs @@ -0,0 +1,16 @@ +using System; +using System.ComponentModel; +using System.Linq; +using Nuke.Common.Tooling; + +[TypeConverter(typeof(TypeConverter))] +public class Configuration : Enumeration +{ + public static Configuration Debug = new Configuration { Value = nameof(Debug) }; + public static Configuration Release = new Configuration { Value = nameof(Release) }; + + public static implicit operator string(Configuration configuration) + { + return configuration.Value; + } +} diff --git a/ThirdParty/CsvHelper-master/build/Directory.Build.props b/ThirdParty/CsvHelper-master/build/Directory.Build.props new file mode 100644 index 0000000..e147d63 --- /dev/null +++ b/ThirdParty/CsvHelper-master/build/Directory.Build.props @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/ThirdParty/CsvHelper-master/build/Directory.Build.targets b/ThirdParty/CsvHelper-master/build/Directory.Build.targets new file mode 100644 index 0000000..2532609 --- /dev/null +++ b/ThirdParty/CsvHelper-master/build/Directory.Build.targets @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/ThirdParty/CsvHelper-master/build/_build.csproj b/ThirdParty/CsvHelper-master/build/_build.csproj new file mode 100644 index 0000000..a97ce21 --- /dev/null +++ b/ThirdParty/CsvHelper-master/build/_build.csproj @@ -0,0 +1,42 @@ + + + + Exe + net6.0 + + CS0649;CS0169 + .. + .. + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ThirdParty/CsvHelper-master/build/_build.csproj.DotSettings b/ThirdParty/CsvHelper-master/build/_build.csproj.DotSettings new file mode 100644 index 0000000..96e392e --- /dev/null +++ b/ThirdParty/CsvHelper-master/build/_build.csproj.DotSettings @@ -0,0 +1,23 @@ + + False + Implicit + Implicit + ExpressionBody + 0 + NEXT_LINE + True + False + 120 + IF_OWNER_IS_SINGLE_LINE + WRAP_IF_LONG + False + <Policy Inspect="True" Prefix="" Suffix="" Style="AaBb" /> + <Policy Inspect="True" Prefix="" Suffix="" Style="AaBb" /> + True + True + True + True + True + True + True + True diff --git a/ThirdParty/CsvHelper-master/build/_build.v3.ncrunchproject b/ThirdParty/CsvHelper-master/build/_build.v3.ncrunchproject new file mode 100644 index 0000000..319cd52 --- /dev/null +++ b/ThirdParty/CsvHelper-master/build/_build.v3.ncrunchproject @@ -0,0 +1,5 @@ + + + True + + \ No newline at end of file diff --git a/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/ConsoleHost.cs b/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/ConsoleHost.cs new file mode 100644 index 0000000..c7c3bc1 --- /dev/null +++ b/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/ConsoleHost.cs @@ -0,0 +1,117 @@ +using System; +using System.Threading; +using System.Threading.Tasks; + +namespace CsvHelper.DocsGenerator +{ + public static class ConsoleHost + { + /// + /// Block the calling thread until shutdown is triggered via Ctrl+C or SIGTERM. + /// + public static void WaitForShutdown() + { + WaitForShutdownAsync().GetAwaiter().GetResult(); + } + + /// + /// Returns a Task that completes when shutdown is triggered via the given token, Ctrl+C or SIGTERM. + /// + /// The token to trigger shutdown. + public static async Task WaitForShutdownAsync(CancellationToken token = default(CancellationToken)) + { + var done = new ManualResetEventSlim(false); + using (var cts = CancellationTokenSource.CreateLinkedTokenSource(token)) + { + AttachCtrlcSigtermShutdown(cts, done, shutdownMessage: string.Empty); + await WaitForTokenShutdownAsync(cts.Token); + done.Set(); + } + } + + /// + /// Runs an application and block the calling thread until host shutdown. + /// + /// The to run. + public static void Wait() + { + WaitAsync().GetAwaiter().GetResult(); + } + + /// + /// Runs an application and returns a Task that only completes when the token is triggered or shutdown is triggered. + /// + /// The to run. + /// The token to trigger shutdown. + public static async Task WaitAsync(CancellationToken token = default(CancellationToken)) + { + //Wait for the token shutdown if it can be cancelled + if (token.CanBeCanceled) + { + await WaitAsync(token, shutdownMessage: null); + return; + } + + //If token cannot be cancelled, attach Ctrl+C and SIGTERN shutdown + var done = new ManualResetEventSlim(false); + using (var cts = new CancellationTokenSource()) + { + AttachCtrlcSigtermShutdown(cts, done, shutdownMessage: "Application is shutting down..."); + await WaitAsync(cts.Token, "Application running. Press Ctrl+C to shut down."); + done.Set(); + } + } + + private static async Task WaitAsync(CancellationToken token, string shutdownMessage) + { + if (!string.IsNullOrEmpty(shutdownMessage)) + { + Console.WriteLine(shutdownMessage); + } + + await WaitForTokenShutdownAsync(token); + } + + private static void AttachCtrlcSigtermShutdown(CancellationTokenSource cts, ManualResetEventSlim resetEvent, string shutdownMessage) + { + Action ShutDown = () => + { + if (!cts.IsCancellationRequested) + { + if (!string.IsNullOrWhiteSpace(shutdownMessage)) + { + Console.WriteLine(shutdownMessage); + } + + try + { + cts.Cancel(); + } + catch (ObjectDisposedException) { } + } + + // Wait on the given reset event + resetEvent.Wait(); + }; + + AppDomain.CurrentDomain.ProcessExit += delegate { ShutDown(); }; + Console.CancelKeyPress += (sender, eventArgs) => + { + ShutDown(); + //Don't terminate the process immediately, wait for the Main thread to exit gracefully. + eventArgs.Cancel = true; + }; + } + + private static async Task WaitForTokenShutdownAsync(CancellationToken token) + { + var waitForStop = new TaskCompletionSource(); + token.Register(obj => + { + var tcs = (TaskCompletionSource)obj; + tcs.TrySetResult(null); + }, waitForStop); + await waitForStop.Task; + } + } +} diff --git a/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/CsvHelper.DocsGenerator.csproj b/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/CsvHelper.DocsGenerator.csproj new file mode 100644 index 0000000..f9884a4 --- /dev/null +++ b/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/CsvHelper.DocsGenerator.csproj @@ -0,0 +1,17 @@ + + + + Exe + netcoreapp2.2 + latest + + + + + + + + + + + \ No newline at end of file diff --git a/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/EncodingType.cs b/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/EncodingType.cs new file mode 100644 index 0000000..d31b524 --- /dev/null +++ b/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/EncodingType.cs @@ -0,0 +1,14 @@ +namespace CsvHelper.DocsGenerator +{ + public enum EncodingType + { + // Generic<Parameter> + Html = 0, + + // Generic + Code = 1, + + // Generic{Parameter} + Xml = 2 + } +} diff --git a/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Extensions.cs b/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Extensions.cs new file mode 100644 index 0000000..fd7ae72 --- /dev/null +++ b/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Extensions.cs @@ -0,0 +1,459 @@ +using CsvHelper.DocsGenerator.Formatters; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Reflection; +using System.Text.RegularExpressions; +using System.Xml; +using System.Xml.Linq; + +namespace CsvHelper.DocsGenerator +{ + public static class Extensions + { + // Assembly + + public static string GetHtmlName(Assembly assembly) + { + throw new NotImplementedException(); + } + + // Type + + public static string GetTypeName(this Type type) + { + if (type.IsEnum) + { + return "Enum"; + } + + if (type.IsInterface) + { + return "Interface"; + } + + if (type.IsClass) + { + return "Class"; + } + + throw new InvalidOperationException($"No type name found for type '{type.GetFullName()}'."); + } + + public static string GetHtmlName(this Type type) + { + return HtmlFormat(type); + } + + public static string GetCodeName(this Type type) + { + return HtmlFormat(type, isCodeBlock: true); + } + + public static string GetFullName(this Type type) + { + return $"{type.Namespace}.{type.Name}"; + } + + public static string GetFullHtmlName(this Type type) + { + return $"{type.Namespace}.{type.GetHtmlName()}"; + } + + public static string GetFullCodeName(this Type type) + { + return $"{type.Namespace}.{type.GetCodeName()}"; + } + + public static string GetSummary(this Type type) + { + return GetSummary($"T:{type.GetFullName()}"); + } + + // Property + + public static string GetHtmlName(this PropertyInfo property) + { + return property.Name; + } + + public static string GetCodeName(this PropertyInfo property) + { + throw new NotImplementedException(); + } + + public static string GetFullName(this PropertyInfo property) + { + return $"{property.DeclaringType.FullName}.{property.Name}"; + } + + public static string GetFullHtmlName(this PropertyInfo property) + { + throw new NotImplementedException(); + } + + public static string GetFullCodeName(this PropertyInfo property) + { + throw new NotImplementedException(); + } + + public static string GetSummary(this PropertyInfo property) + { + var parameters = property.GetIndexParameters().ToList(); + var parametersText = string.Empty; + if (parameters.Count > 0) + { + parametersText = $"({string.Join(",", parameters.Select(p => p.ParameterType.FullName))})"; + } + + return GetSummary($"P:{property.GetFullName()}{parametersText}"); + } + + // Field + + public static string GetHtmlName(this FieldInfo field) + { + return field.Name; + } + + public static string GetCodeName(this FieldInfo field) + { + return field.Name; + } + + public static string GetFullName(this FieldInfo field) + { + return $"{field.DeclaringType.FullName}.{field.Name}"; + } + + public static string GetFullHtmlName(this FieldInfo field) + { + throw new NotImplementedException(); + } + + public static string GetFullCodeName(this FieldInfo field) + { + throw new NotImplementedException(); + } + + public static string GetSummary(this FieldInfo field) + { + return GetSummary($"F:{field.GetFullName()}"); + } + + // Constructor + + public static string GetHtmlName(this ConstructorInfo constructor) + { + return HtmlFormat(constructor); + } + + public static string GetCodeName(this ConstructorInfo constructor) + { + throw new NotImplementedException(); + } + + public static string GetFullName(this ConstructorInfo constructor) + { + throw new NotImplementedException(); + } + + public static string GetFullHtmlName(this ConstructorInfo constructor) + { + throw new NotImplementedException(); + } + + public static string GetFullCodeName(this ConstructorInfo constructor) + { + throw new NotImplementedException(); + } + + public static string GetSummary(this ConstructorInfo constructor) + { + return GetSummary($"M:{XmlDocFormat(constructor)}"); + } + + // Method + + public static string GetHtmlName(this MethodInfo method) + { + return HtmlFormat(method); + } + + public static string GetCodeName(this MethodInfo method) + { + throw new NotImplementedException(); + } + + public static string GetFullName(this MethodInfo method) + { + throw new NotImplementedException(); + } + + public static string GetFullHtmlName(this MethodInfo method) + { + throw new NotImplementedException(); + } + + public static string GetFullCodeName(this MethodInfo method) + { + throw new NotImplementedException(); + } + + public static string GetSummary(this MethodInfo method) + { + return GetSummary($"M:{XmlDocFormat(method)}"); + } + + // Private + + private static Type GetType(string typeName) + { + Type type = null; + if (typeName.StartsWith("CsvHelper")) + { + var assembly = Assembly.GetAssembly(typeof(CsvHelperException)); + type = assembly.GetType(typeName); + + var currentTypeName = typeName; + while (type == null && !string.IsNullOrWhiteSpace(currentTypeName) && currentTypeName.Contains('.')) + { + currentTypeName = currentTypeName.Substring(0, currentTypeName.LastIndexOf('.')); + type = assembly.GetType(typeName); + } + } + else + { + type = Type.GetType(typeName); + } + + return type; + } + + private static string GetSummary(string memberName) + { + var members = XmlDocs.XElement.Descendants("member"); + var member = members?.SingleOrDefault(m => m.Attribute("name")?.Value == memberName); + var summary = member?.Element("summary"); + if (summary != null) + { + var summaryText = new List(); + foreach (var node in summary.Nodes()) + { + string text; + if (node.NodeType == XmlNodeType.Element) + { + string typeName = string.Empty; + var el = (XElement)node; + switch (el.Name.ToString()) + { + case "paramref": + typeName = el.Attribute("name").Value; + break; + case "see": + typeName = el.Attribute("cref").Value.Substring(2); + break; + case "c": + typeName = el.Value; + break; + default: + throw new InvalidOperationException($"Unhandled element '{el.Name}'."); + } + + var type = GetType(typeName); + text = type == null ? typeName : type.GetFullCodeName(); + + text = $"``{text.Trim()}``"; + } + else if (node.NodeType == XmlNodeType.Text) + { + text = node.ToString(); + } + else + { + throw new InvalidOperationException($"Unhandled node type '{node.NodeType}'."); + } + + // Replace multiple spaces with a single space. + text = Regex.Replace(text, @"\s{2,}", " ").Trim(); + + summaryText.Add(text); + } + + return string.Join(" ", summaryText); + } + + if (memberName.Substring(2).StartsWith("CsvHelper")) + { + Console.WriteLine($"No summary found for '{memberName}'."); + } + + return null; + } + + private static string HtmlFormat(Type type, bool generateLinks = false, bool isCodeBlock = false) + { + var symbols = isCodeBlock ? Symbols.Code : Symbols.Html; + + var @namespace = type.Namespace; + var name = type.Name; + + if (type.IsByRef) + { + name = name.TrimEnd('&'); + } + + if (generateLinks) + { + if (@namespace.StartsWith("CsvHelper")) + { + name = $"[{name}](/api/{@namespace}/{name})"; + } + else + { + name = $"[{name}](https://docs.microsoft.com/en-us/dotnet/api/{@namespace.ToLower()}.{name.ToLower()})"; + } + } + + var genericArgumentsText = string.Empty; + var genericArguments = type.GetGenericArguments().ToList(); + if (genericArguments.Count > 0) + { + name = name.Substring(0, name.IndexOf('`')); + genericArgumentsText = $"{symbols["<"]}{string.Join(", ", genericArguments.Select(a => HtmlFormat(a)))}{symbols[">"]}"; + } + + return $"{name}{genericArgumentsText}"; + } + + private static string HtmlFormat(MethodBase methodInfo, bool generateLinks = false, bool isCodeBlock = false) + { + var symbols = isCodeBlock ? Symbols.Code : Symbols.Html; + + var @namespace = methodInfo.DeclaringType.Namespace; + var typeName = methodInfo.DeclaringType.Name; + var methodName = methodInfo.Name; + + var name = methodName; + if (methodInfo.IsConstructor) + { + name = methodInfo.DeclaringType.IsGenericType + ? typeName.Substring(0, typeName.IndexOf('`')) + : typeName; + } + + var genericArgumentsText = string.Empty; + var genericArguments = new List(); + if (!methodInfo.IsConstructor) + { + genericArguments = methodInfo.GetGenericArguments().ToList(); + if (genericArguments.Count > 0) + { + genericArgumentsText = $"{symbols["<"]}{string.Join(", ", genericArguments.Select(a => HtmlFormat(a)))}{symbols[">"]}"; + } + } + + var parametersText = string.Empty; + var parameters = methodInfo.GetParameters().ToList(); + if (parameters.Count > 0) + { + var typeGenericArguments = methodInfo.DeclaringType.GetGenericArguments(); + + parametersText = string.Join(", ", parameters.Select(p => + { + // Don't generate links if the type is a generic parameter. + var shouldGenerateLinks = generateLinks && + !( + typeGenericArguments.Any(a => $"{a.Namespace}.{a.Name}" == $"{p.ParameterType.Namespace}.{p.ParameterType.Name}") || + genericArguments.Any(a => $"{a.Namespace}.{a.Name}" == $"{p.ParameterType.Namespace}.{p.ParameterType.Name}") + ); + + var outText = p.IsOut ? "out " : string.Empty; + return $"{outText}{HtmlFormat(p.ParameterType, shouldGenerateLinks)}"; + })); + } + + return $"{name}{genericArgumentsText}({parametersText})"; + } + + private static string XmlDocFormat(Type type) + { + var @namespace = type.Namespace; + var name = type.Name; + + return $"{@namespace}.{name}"; + } + + private static string XmlDocFormat(MethodBase methodInfo) + { + var typeText = XmlDocFormat(methodInfo.DeclaringType); + + var methodName = methodInfo.Name.Replace('.', '#'); + + var typeGenericArguments = methodInfo.DeclaringType.GetGenericArguments().ToList(); + + var methodGenericArguments = new List(); + if (!methodInfo.IsConstructor) + { + methodGenericArguments = methodInfo.GetGenericArguments().ToList(); + if (methodGenericArguments.Count > 0) + { + methodName = $"{methodName}``{methodGenericArguments.Count}"; + } + } + + var parametersText = string.Empty; + var parameters = methodInfo.GetParameters().ToList(); + if (parameters.Count > 0) + { + parametersText = $"({string.Join(",", parameters.Select(p => XmlDocFormat(p.ParameterType, typeGenericArguments, methodGenericArguments)))})"; + } + + return $"{typeText}.{methodName}{parametersText}"; + } + + private static string XmlDocFormat(Type parameterType, List typeGenericParameters, List methodGenericParameters) + { + var @namespace = parameterType.Namespace; + var name = parameterType.Name; + + if (parameterType.IsByRef) + { + name = name.TrimEnd('&'); + } + + var typeName = $"{@namespace}.{name}"; + + // Check if the parameter is a generic argument of a type. + var index = typeGenericParameters.FindIndex(t => $"{t.Namespace}.{t.Name}" == typeName); + if (index >= 0) + { + var refText = parameterType.IsByRef ? "@" : string.Empty; + return $"`{index}{refText}"; + } + + // Check if the parameter is a generic argument of a method. + index = methodGenericParameters.FindIndex(t => $"{t.Namespace}.{t.Name}" == typeName); + if (index >= 0) + { + var refText = parameterType.IsByRef ? "@" : string.Empty; + return $"``{index}{refText}"; + } + + var genericArgumentsText = string.Empty; + var genericArguments = parameterType.GetGenericArguments().ToList(); + if (genericArguments.Count > 0) + { + name = name.Substring(0, name.IndexOf('`')); + genericArgumentsText = $"{{{string.Join(",", genericArguments.Select(a => XmlDocFormat(a, typeGenericParameters, methodGenericParameters)))}}}"; + } + + if (parameterType.IsByRef) + { + name += "@"; + } + + return $"{@namespace}.{name}{genericArgumentsText}"; + } + } +} diff --git a/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Formatters/HtmlFormatter.cs b/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Formatters/HtmlFormatter.cs new file mode 100644 index 0000000..c557199 --- /dev/null +++ b/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Formatters/HtmlFormatter.cs @@ -0,0 +1,94 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Reflection; + +namespace CsvHelper.DocsGenerator.Formatters +{ + public class HtmlFormatter + { + public string Format(Type type, bool generateLinks = false, bool isCodeBlock = false) + { + var symbols = isCodeBlock ? Symbols.Code : Symbols.Html; + + var @namespace = type.Namespace; + var name = type.Name; + + if (type.IsByRef) + { + name = name.TrimEnd('&'); + } + + if (generateLinks) + { + if (@namespace.StartsWith("CsvHelper")) + { + name = $"[{name}](/api/{@namespace}/{name})"; + } + else + { + name = $"[{name}](https://docs.microsoft.com/en-us/dotnet/api/{@namespace.ToLower()}.{name.ToLower()})"; + } + } + + var genericArgumentsText = string.Empty; + var genericArguments = type.GetGenericArguments().ToList(); + if (genericArguments.Count > 0) + { + name = name.Substring(0, name.IndexOf('`')); + genericArgumentsText = $"{symbols["<"]}{string.Join(", ", genericArguments.Select(a => Format(a)))}{symbols[">"]}"; + } + + return $"{name}{genericArgumentsText}"; + } + + public string Format(MethodBase methodInfo, bool generateLinks = false, bool isCodeBlock = false) + { + var symbols = isCodeBlock ? Symbols.Code : Symbols.Html; + + var @namespace = methodInfo.DeclaringType.Namespace; + var typeName = methodInfo.DeclaringType.Name; + var methodName = methodInfo.Name; + + var name = methodInfo.IsConstructor ? typeName : methodName; + + var genericArgumentsText = string.Empty; + var genericArguments = new List(); + if (!methodInfo.IsConstructor) + { + genericArguments = methodInfo.GetGenericArguments().ToList(); + if (genericArguments.Count > 0) + { + genericArgumentsText = $"{symbols["<"]}{string.Join(", ", genericArguments.Select(a => Format(a)))}{symbols[">"]}"; + } + } + + var parametersText = string.Empty; + var parameters = methodInfo.GetParameters().ToList(); + if (parameters.Count > 0) + { + var typeGenericArguments = methodInfo.DeclaringType.GetGenericArguments(); + + parametersText = string.Join(", ", parameters.Select(p => + { + // Don't generate links if the type is a generic parameter. + var shouldGenerateLinks = generateLinks && + !( + typeGenericArguments.Any(a => $"{a.Namespace}.{a.Name}" == $"{p.ParameterType.Namespace}.{p.ParameterType.Name}") || + genericArguments.Any(a => $"{a.Namespace}.{a.Name}" == $"{p.ParameterType.Namespace}.{p.ParameterType.Name}") + ); + + var outText = p.IsOut ? "out " : string.Empty; + return $"{outText}{Format(p.ParameterType, shouldGenerateLinks)}"; + })); + } + + return $"{name}{genericArgumentsText}({parametersText})"; + } + + public string Format(MemberInfo memberInfo, bool generateLinks = false, bool isCodeBlock = false) + { + return memberInfo.Name; + } + } +} diff --git a/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Formatters/Symbols.cs b/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Formatters/Symbols.cs new file mode 100644 index 0000000..52b4846 --- /dev/null +++ b/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Formatters/Symbols.cs @@ -0,0 +1,18 @@ +using System.Collections.Generic; +using System.Linq; + +namespace CsvHelper.DocsGenerator.Formatters +{ + public static class Symbols + { + public static readonly Dictionary Html = new Dictionary + { + { "<", "<" }, + { ">", ">" }, + { "[", "[" }, + { "]", "]" } + }; + + public static readonly Dictionary Code = new Dictionary(Html.Select(pair => new KeyValuePair(pair.Key, pair.Key))); + } +} diff --git a/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Formatters/XmlDocFormatter.cs b/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Formatters/XmlDocFormatter.cs new file mode 100644 index 0000000..5d24338 --- /dev/null +++ b/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Formatters/XmlDocFormatter.cs @@ -0,0 +1,100 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Reflection; + +namespace CsvHelper.DocsGenerator.Formatters +{ + public class XmlDocFormatter + { + public string Format(Type type) + { + return $"T:{FormatType(type)}"; + } + + public string Format(MethodBase methodInfo) + { + return $"M:{FormatMethod(methodInfo)}"; + } + + private string FormatType(Type type) + { + var @namespace = type.Namespace; + var name = type.Name; + + return $"{@namespace}.{name}"; + } + + private string FormatMethod(MethodBase methodInfo) + { + var typeText = FormatType(methodInfo.DeclaringType); + + var methodName = methodInfo.Name.Replace('.', '#'); + + var typeGenericArguments = methodInfo.DeclaringType.GetGenericArguments().ToList(); + + var methodGenericArguments = new List(); + if (!methodInfo.IsConstructor) + { + methodGenericArguments = methodInfo.GetGenericArguments().ToList(); + if (methodGenericArguments.Count > 0) + { + methodName = $"{methodName}``{methodGenericArguments.Count}"; + } + } + + var parametersText = string.Empty; + var parameters = methodInfo.GetParameters().ToList(); + if (parameters.Count > 0) + { + parametersText = $"({string.Join(",", parameters.Select(p => FormatParameter(p.ParameterType, typeGenericArguments, methodGenericArguments)))})"; + } + + return $"{typeText}.{methodName}{parametersText}"; + } + + private string FormatParameter(Type parameterType, List typeGenericParameters, List methodGenericParameters) + { + var @namespace = parameterType.Namespace; + var name = parameterType.Name; + + if (parameterType.IsByRef) + { + name = name.TrimEnd('&'); + } + + var typeName = $"{@namespace}.{name}"; + + // Check if the parameter is a generic argument of a type. + var index = typeGenericParameters.FindIndex(t => $"{t.Namespace}.{t.Name}" == typeName); + if (index >= 0) + { + var refText = parameterType.IsByRef ? "@" : string.Empty; + return $"`{index}{refText}"; + } + + // Check if the parameter is a generic argument of a method. + index = methodGenericParameters.FindIndex(t => $"{t.Namespace}.{t.Name}" == typeName); + if (index >= 0) + { + var refText = parameterType.IsByRef ? "@" : string.Empty; + return $"``{index}{refText}"; + } + + var genericArgumentsText = string.Empty; + var genericArguments = parameterType.GetGenericArguments().ToList(); + if (genericArguments.Count > 0) + { + name = name.Substring(0, name.IndexOf('`')); + genericArgumentsText = $"{{{string.Join(",", genericArguments.Select(a => FormatParameter(a, typeGenericParameters, methodGenericParameters)))}}}"; + } + + if (parameterType.IsByRef) + { + name += "@"; + } + + return $"{@namespace}.{name}{genericArgumentsText}"; + } + } +} diff --git a/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Generators/AssemblyGenerator.cs b/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Generators/AssemblyGenerator.cs new file mode 100644 index 0000000..76c4749 --- /dev/null +++ b/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Generators/AssemblyGenerator.cs @@ -0,0 +1,22 @@ +using CsvHelper.DocsGenerator.Infos; + +namespace CsvHelper.DocsGenerator.Generators +{ + public class AssemblyGenerator : DocumentGenerator + { + public AssemblyGenerator(AssemblyInfo assemblyInfo) : base(assemblyInfo) { } + + protected override void GenerateContent() + { + content.AppendLine($"# {assemblyInfo.Assembly.GetName().Name} Namespaces"); + content.AppendLine(); + content.AppendLine("## Namespaces"); + content.AppendLine("  |  "); + content.AppendLine("- | -"); + foreach (var @namespace in assemblyInfo.Namespaces) + { + content.AppendLine($"[{@namespace.Namespace}](/api/{@namespace.Namespace}) | "); + } + } + } +} diff --git a/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Generators/DocumentGenerator.cs b/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Generators/DocumentGenerator.cs new file mode 100644 index 0000000..614e182 --- /dev/null +++ b/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Generators/DocumentGenerator.cs @@ -0,0 +1,42 @@ +using CsvHelper.DocsGenerator.Infos; +using System; +using System.Text; + +namespace CsvHelper.DocsGenerator.Generators +{ + public abstract class DocumentGenerator + { + //protected readonly HtmlFormatter htmlFormatter = new HtmlFormatter(); + protected readonly LinkGenerator linkGenerator = new LinkGenerator(); + protected readonly AssemblyInfo assemblyInfo; + protected readonly NamespaceInfo namespaceInfo; + protected readonly TypeInfo typeInfo; + protected readonly StringBuilder content = new StringBuilder(); + + public DocumentGenerator(AssemblyInfo assemblyInfo) + { + this.assemblyInfo = assemblyInfo ?? throw new ArgumentNullException(nameof(assemblyInfo)); + } + + public DocumentGenerator(NamespaceInfo namespaceInfo) + { + this.namespaceInfo = namespaceInfo; + } + + public DocumentGenerator(TypeInfo typeInfo) + { + this.typeInfo = typeInfo ?? throw new ArgumentNullException(nameof(typeInfo)); + } + + public string Generate() + { + content.Clear(); + + GenerateContent(); + + return content.ToString(); + } + + protected abstract void GenerateContent(); + } +} diff --git a/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Generators/DocumentGeneratorFactory.cs b/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Generators/DocumentGeneratorFactory.cs new file mode 100644 index 0000000..d9ece33 --- /dev/null +++ b/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Generators/DocumentGeneratorFactory.cs @@ -0,0 +1,22 @@ +using CsvHelper.DocsGenerator.Infos; + +namespace CsvHelper.DocsGenerator.Generators +{ + public class DocumentGeneratorFactory + { + public DocumentGenerator Create(AssemblyInfo assemblyInfo) + { + return new AssemblyGenerator(assemblyInfo); + } + + public DocumentGenerator Create(NamespaceInfo namespaceInfo) + { + return new NamespaceGenerator(namespaceInfo); + } + + public DocumentGenerator Create(TypeInfo typeInfo) + { + return new TypeGenerator(typeInfo); + } + } +} diff --git a/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Generators/NamespaceGenerator.cs b/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Generators/NamespaceGenerator.cs new file mode 100644 index 0000000..b3a9314 --- /dev/null +++ b/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Generators/NamespaceGenerator.cs @@ -0,0 +1,50 @@ +using CsvHelper.DocsGenerator.Infos; + +namespace CsvHelper.DocsGenerator.Generators +{ + public class NamespaceGenerator : DocumentGenerator + { + public NamespaceGenerator(NamespaceInfo namespaceInfo) : base(namespaceInfo) { } + + protected override void GenerateContent() + { + content.AppendLine($"# {namespaceInfo.Namespace} Namespace"); + + if (namespaceInfo.Classes.Count > 0) + { + content.AppendLine(); + content.AppendLine("## Classes"); + content.AppendLine("  |  "); + content.AppendLine("- | -"); + foreach (var typeInfo in namespaceInfo.Classes) + { + content.AppendLine($"[{typeInfo.Type.GetHtmlName()}](/api/{namespaceInfo.Namespace}/{typeInfo.Type.GetHtmlName()}) | {typeInfo.Type.GetSummary()}"); + } + } + + if (namespaceInfo.Interfaces.Count > 0) + { + content.AppendLine(); + content.AppendLine("## Interfaces"); + content.AppendLine("  |  "); + content.AppendLine("- | -"); + foreach (var typeInfo in namespaceInfo.Interfaces) + { + content.AppendLine($"[{typeInfo.Type.GetHtmlName()}](/api/{namespaceInfo.Namespace}/{typeInfo.Type.Name}) | {typeInfo.Type.GetSummary()}"); + } + } + + if (namespaceInfo.Enums.Count > 0) + { + content.AppendLine(); + content.AppendLine("## Enums"); + content.AppendLine("  |  "); + content.AppendLine("- | -"); + foreach (var typeInfo in namespaceInfo.Enums) + { + content.AppendLine($"[{typeInfo.Type.GetHtmlName()}](/api/{namespaceInfo.Namespace}/{typeInfo.Type.Name}) | {typeInfo.Type.GetSummary()}"); + } + } + } + } +} diff --git a/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Generators/TypeGenerator.cs b/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Generators/TypeGenerator.cs new file mode 100644 index 0000000..fa7533e --- /dev/null +++ b/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Generators/TypeGenerator.cs @@ -0,0 +1,118 @@ +using CsvHelper.DocsGenerator.Infos; +using System.Linq; + +namespace CsvHelper.DocsGenerator.Generators +{ + public class TypeGenerator : DocumentGenerator + { + public TypeGenerator(TypeInfo typeInfo) : base(typeInfo) { } + + protected override void GenerateContent() + { + // Title + content.AppendLine($"# {typeInfo.Type.GetHtmlName()} {typeInfo.Type.GetTypeName()}"); + + // Namespace + content.AppendLine(); + content.AppendLine($"Namespace: [{typeInfo.Type.Namespace}](/api/{typeInfo.Type.Namespace})"); + + // Summary + content.AppendLine(); + content.AppendLine(typeInfo.Type.GetSummary()); + + // Definition + content.AppendLine(); + content.AppendLine("```cs"); + foreach (var attribute in typeInfo.Attributes) + { + content.AppendLine($"[{attribute.GetFullCodeName()}]"); + } + + var inheritanceText = string.Empty; + if (!typeInfo.Type.IsEnum && typeInfo.Implementers.Count > 0) + { + inheritanceText = $": {string.Join(", ", typeInfo.Implementers.Select(i => i.GetCodeName()))}"; + } + + var typeModifier = string.Empty; + if (typeInfo.Type.IsAbstract && typeInfo.Type.IsSealed && !typeInfo.Type.IsInterface) + { + typeModifier = "static "; + } + else if (typeInfo.Type.IsAbstract && !typeInfo.Type.IsSealed && !typeInfo.Type.IsInterface) + { + typeModifier = "abstract "; + } + + content.AppendLine($"public {typeModifier}{typeInfo.Type.GetTypeName().ToLower()} {typeInfo.Type.GetCodeName()} {inheritanceText}"); + content.AppendLine("```"); + + // Inheritance + if (typeInfo.Inheritance.Count > 0) + { + content.AppendLine(); + content.AppendLine($"Inheritance {string.Join(" -> ", typeInfo.Inheritance.Select(t => t.GetHtmlName()))}"); + } + + // Constructors + if (typeInfo.Constructors.Count > 0) + { + content.AppendLine(""); + content.AppendLine("## Constructors"); + content.AppendLine("  |  "); + content.AppendLine("- | -"); + foreach (var constructorInfo in typeInfo.Constructors) + { + content.AppendLine($"{constructorInfo.Constructor.GetHtmlName()} | {constructorInfo.Constructor.GetSummary()}"); + } + } + + // Fields + if (typeInfo.Fields.Count > 0) + { + content.AppendLine(); + content.AppendLine("## Fields"); + content.AppendLine("  |  "); + content.AppendLine("- | -"); + foreach (var field in typeInfo.Fields) + { + content.AppendLine($"{field.GetHtmlName()} | {field.GetSummary()}"); + } + } + + // Properties + if (typeInfo.Properties.Count > 0) + { + content.AppendLine(); + content.AppendLine("## Properties"); + content.AppendLine("  |  "); + content.AppendLine("- | -"); + foreach (var property in typeInfo.Properties) + { + if (property.IndexParameters.Count > 0) + { + var parameters = string.Join(", ", property.IndexParameters.Select(ip => ip.ParameterType.GetHtmlName())); + content.AppendLine($"this[{parameters}] | {property.Property.GetSummary()}"); + } + else + { + content.AppendLine($"{property.Property.GetHtmlName()} | {property.Property.GetSummary()}"); + } + } + } + + // Methods + if (typeInfo.Methods.Count > 0) + { + content.AppendLine(); + content.AppendLine("## Methods"); + content.AppendLine("  |  "); + content.AppendLine("- | -"); + foreach (var method in typeInfo.Methods) + { + content.AppendLine($"{method.Method.GetHtmlName()} | {method.Method.GetSummary()}"); + } + } + } + } +} diff --git a/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Infos/AssemblyInfo.cs b/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Infos/AssemblyInfo.cs new file mode 100644 index 0000000..8e14d42 --- /dev/null +++ b/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Infos/AssemblyInfo.cs @@ -0,0 +1,30 @@ +using System.Collections.Generic; +using System.Diagnostics; +using System.Linq; +using System.Reflection; +using System.Xml.Linq; + +namespace CsvHelper.DocsGenerator.Infos +{ + [DebuggerDisplay("Name = {Name}")] + public class AssemblyInfo : Info + { + public Assembly Assembly { get; protected set; } + + public List Namespaces { get; private set; } + + public AssemblyInfo(Assembly assembly, XElement xmlDocs) + { + Assembly = assembly; + + Namespaces = + ( + from type in assembly.GetTypes() + where type.IsPublic + orderby type.Namespace ascending, type.Name ascending + group type by type.Namespace into g + select new NamespaceInfo(this, g.Key, g.ToList(), xmlDocs) + ).ToList(); + } + } +} diff --git a/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Infos/ConstructorInfo.cs b/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Infos/ConstructorInfo.cs new file mode 100644 index 0000000..3a00b19 --- /dev/null +++ b/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Infos/ConstructorInfo.cs @@ -0,0 +1,20 @@ +using System.Collections.Generic; +using System.Linq; +using System.Xml.Linq; + +namespace CsvHelper.DocsGenerator.Infos +{ + public class ConstructorInfo : Info + { + public System.Reflection.ConstructorInfo Constructor { get; private set; } + + public List Parameters { get; private set; } + + public ConstructorInfo(System.Reflection.ConstructorInfo constructorInfo, XElement xmlDocs) + { + Constructor = constructorInfo; + + Parameters = constructorInfo.GetParameters().ToList(); + } + } +} diff --git a/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Infos/Info.cs b/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Infos/Info.cs new file mode 100644 index 0000000..fda1943 --- /dev/null +++ b/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Infos/Info.cs @@ -0,0 +1,105 @@ +using System; +using System.Collections.Generic; +using System.Diagnostics; +using System.Linq; +using System.Text.RegularExpressions; +using System.Xml; +using System.Xml.Linq; + +namespace CsvHelper.DocsGenerator.Infos +{ + [DebuggerDisplay("Name = {Name}, DisplayName = {DisplayName}, Namespace = {NameSpace}, FullName = {FullName}")] + public abstract class Info + { + //private string fullName; + //private string fullHtmlName; + //private string fullCodeName; + + //protected readonly HtmlFormatter htmlFormatter = new HtmlFormatter(); + //protected readonly XmlDocFormatter xmlDocFormatter = new XmlDocFormatter(); + + //public string Namespace { get; protected set; } + + //public string Name { get; protected set; } + + //public string HtmlName { get; protected set; } + + //public string CodeName { get; protected set; } + + //public string FullName + //{ + // get => fullName ?? $"{Namespace}.{Name}"; + // protected set => fullName = value; + //} + + //public string FullHtmlName + //{ + // get => fullHtmlName ?? $"{Namespace}.{HtmlName}"; + // protected set => fullHtmlName = value; + //} + + //public string FullCodeName + //{ + // get => fullCodeName ?? $"{Namespace}.{CodeName}"; + // protected set => fullCodeName = value; + //} + + //public string Summary { get; protected set; } + + protected string ParseSummary(string memberName, XElement xmlDocs) + { + var members = xmlDocs.Descendants("member"); + var member = members?.SingleOrDefault(m => m.Attribute("name")?.Value == memberName); + var summary = member?.Element("summary"); + if (summary != null) + { + var summaryText = new List(); + foreach (var node in summary.Nodes()) + { + string text; + if (node.NodeType == XmlNodeType.Element) + { + var el = (XElement)node; + switch (el.Name.ToString()) + { + case "paramref": + text = el.Attribute("name").Value; + break; + case "see": + text = el.Attribute("cref").Value.Substring(2); + break; + case "c": + text = el.Value; + break; + default: + throw new InvalidOperationException($"Unhandled element '{el.Name}'."); + } + + text = $"``{text.Trim()}``"; + } + else if (node.NodeType == XmlNodeType.Text) + { + text = node.ToString(); + } + else + { + throw new InvalidOperationException($"Unhandled node type '{node.NodeType}'."); + } + + text = Regex.Replace(text, @"\s{2,}", " ").Trim(); + + summaryText.Add(text); + } + + return string.Join(" ", summaryText); + } + + if (memberName.Substring(2).StartsWith("CsvHelper")) + { + Console.WriteLine($"No summary found for '{memberName}'."); + } + + return null; + } + } +} diff --git a/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Infos/MethodInfo.cs b/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Infos/MethodInfo.cs new file mode 100644 index 0000000..c73913e --- /dev/null +++ b/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Infos/MethodInfo.cs @@ -0,0 +1,25 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Xml.Linq; + +namespace CsvHelper.DocsGenerator.Infos +{ + public class MethodInfo : Info + { + public System.Reflection.MethodInfo Method { get; private set; } + + public List Parameters { get; private set; } + + public List GenericArguments { get; private set; } + + public MethodInfo(System.Reflection.MethodInfo methodInfo, XElement xmlDocs) + { + Method = methodInfo; + + Parameters = methodInfo.GetParameters().ToList(); + + GenericArguments = methodInfo.GetGenericArguments().ToList(); + } + } +} diff --git a/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Infos/NamespaceInfo.cs b/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Infos/NamespaceInfo.cs new file mode 100644 index 0000000..a143391 --- /dev/null +++ b/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Infos/NamespaceInfo.cs @@ -0,0 +1,49 @@ +using System; +using System.Collections.Generic; +using System.Diagnostics; +using System.Xml.Linq; + +namespace CsvHelper.DocsGenerator.Infos +{ + [DebuggerDisplay("Name = {Name}")] + public class NamespaceInfo : Info + { + public AssemblyInfo Assembly { get; protected set; } + + public string Namespace { get; protected set; } + + public List Types { get; private set; } = new List(); + + public List Classes { get; private set; } = new List(); + + public List Interfaces { get; private set; } = new List(); + + public List Enums { get; private set; } = new List(); + + public NamespaceInfo(AssemblyInfo assemblyInfo, string @namespace, List types, XElement xmlDocs) + { + Assembly = assemblyInfo; + + Namespace = @namespace; + + foreach (var type in types) + { + var typeInfo = new TypeInfo(type, xmlDocs); + Types.Add(typeInfo); + + if (type.IsClass) + { + Classes.Add(typeInfo); + } + else if (type.IsInterface) + { + Interfaces.Add(typeInfo); + } + else if (type.IsEnum) + { + Enums.Add(typeInfo); + } + } + } + } +} diff --git a/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Infos/PropertyInfo.cs b/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Infos/PropertyInfo.cs new file mode 100644 index 0000000..2d53638 --- /dev/null +++ b/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Infos/PropertyInfo.cs @@ -0,0 +1,24 @@ +using System.Collections.Generic; +using System.Linq; +using System.Xml.Linq; + +namespace CsvHelper.DocsGenerator.Infos +{ + public class PropertyInfo : Info + { + public List IndexParameters { get; protected set; } + + public TypeInfo Type { get; protected set; } + + public System.Reflection.PropertyInfo Property { get; protected set; } + + public PropertyInfo(TypeInfo type, System.Reflection.PropertyInfo propertyInfo, XElement xmlDocs) + { + Type = type; + + Property = propertyInfo; + + IndexParameters = propertyInfo.GetIndexParameters().ToList(); + } + } +} diff --git a/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Infos/TypeInfo.cs b/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Infos/TypeInfo.cs new file mode 100644 index 0000000..18d67f3 --- /dev/null +++ b/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Infos/TypeInfo.cs @@ -0,0 +1,93 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Reflection; +using System.Xml.Linq; + +namespace CsvHelper.DocsGenerator.Infos +{ + public class TypeInfo : Info + { + private static readonly LinkGenerator linkGenerator = new LinkGenerator(); + + public Type Type { get; protected set; } + + public List Attributes { get; protected set; } + + public List Constructors { get; protected set; } + + public List Interfaces { get; protected set; } + + public List Fields { get; protected set; } + + public List Properties { get; protected set; } + + public List Methods { get; protected set; } + + public Stack Inheritance { get; protected set; } + + public List Implementers { get; protected set; } + + public TypeInfo(Type type, XElement xmlDocs) + { + Type = type; + + Interfaces = type.GetInterfaces().ToList(); + + Constructors = type + .GetConstructors(BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly) + .Select(c => new ConstructorInfo(c, xmlDocs)) + .Where(c => !(c.Parameters.Count == 0 && string.IsNullOrEmpty(c.Constructor.GetSummary()))) + .OrderBy(c => c.Parameters.Count) + .ToList(); + + Attributes = type + .GetCustomAttributes() + .Select(a => a.GetType()) + .OrderBy(t => t.Name) + .ToList(); + + var fieldsFlags = type.IsEnum + ? BindingFlags.Public | BindingFlags.Static | BindingFlags.DeclaredOnly + : BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.DeclaredOnly; + Fields = type + .GetFields(fieldsFlags) + .OrderBy(f => f.Name) + .ToList(); + + Properties = type + .GetProperties(BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.DeclaredOnly) + .Select(p => new PropertyInfo(this, p, xmlDocs)) + .OrderBy(p => p.Property.Name) + .ToList(); + + Methods = type + .GetMethods(BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.DeclaredOnly) + .Where(m => !m.IsSpecialName) + .Select(m => new MethodInfo(m, xmlDocs)) + .OrderBy(m => m.Method.Name) + .ToList(); + + Inheritance = new Stack(); + if (type.BaseType != null) + { + Inheritance.Push(type); + var currentType = type.BaseType; + do + { + Inheritance.Push(currentType); + currentType = currentType.BaseType; + } + while (currentType != null); + } + + Implementers = new List(); + if (type.BaseType != null && type.BaseType != typeof(object)) + { + Implementers.Add(type.BaseType); + } + + Implementers.AddRange(Interfaces.Select(i => i)); + } + } +} diff --git a/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/LinkGenerator.cs b/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/LinkGenerator.cs new file mode 100644 index 0000000..4e8dcc8 --- /dev/null +++ b/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/LinkGenerator.cs @@ -0,0 +1,19 @@ +using System; + +namespace CsvHelper.DocsGenerator +{ + public class LinkGenerator + { + public string GenerateLink(Type type) + { + if (type.Namespace.StartsWith("CsvHelper")) + { + return $"[{type.Name}](/api/{type.Namespace}/{type.Name})"; + } + + var fullName = $"{type.Namespace}.{type.Name}"; + + return $"[{type.Name}](https://docs.microsoft.com/en-us/dotnet/api/{fullName.ToLower()})"; + } + } +} diff --git a/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Program.cs b/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Program.cs new file mode 100644 index 0000000..5d430d9 --- /dev/null +++ b/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Program.cs @@ -0,0 +1,18 @@ +using System; + +namespace CsvHelper.DocsGenerator +{ + class Program + { + static void Main(string[] args) + { + new Startup() + .Configure() + .Run(); + + Console.WriteLine(); + Console.WriteLine("Press any key to exit."); + Console.ReadKey(); + } + } +} diff --git a/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Startup.cs b/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Startup.cs new file mode 100644 index 0000000..698a60d --- /dev/null +++ b/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/Startup.cs @@ -0,0 +1,110 @@ +using CsvHelper.DocsGenerator.Generators; +using CsvHelper.DocsGenerator.Infos; +using Newtonsoft.Json; +using Newtonsoft.Json.Linq; +using System.IO; +using System.Linq; +using System.Xml.Linq; + +namespace CsvHelper.DocsGenerator +{ + public class Startup + { + public Startup Configure() + { + return this; + } + + public Startup Run() + { + var outputDirectoryPath = Path.Combine(Directory.GetCurrentDirectory(), "Output"); + if (Directory.Exists(outputDirectoryPath)) + { + Directory.Delete(outputDirectoryPath, true); + } + + Directory.CreateDirectory(outputDirectoryPath); + + var xmlDocs = XElement.Load("CsvHelper.xml"); + + var assemblyInfo = new AssemblyInfo(typeof(CsvHelperException).Assembly, xmlDocs); + + GenerateMarkdownFiles(outputDirectoryPath, assemblyInfo); + GenerateToc(outputDirectoryPath, assemblyInfo); + + return this; + } + + private void GenerateMarkdownFiles(string outputDirectoryPath, AssemblyInfo assemblyInfo) + { + var documentGeneratorFactory = new DocumentGeneratorFactory(); + + // Write assembly file. + var documentGenerator = documentGeneratorFactory.Create(assemblyInfo); + var content = documentGenerator.Generate(); + var filePath = Path.Combine(outputDirectoryPath, "api.md"); + File.WriteAllText(filePath, content); + + outputDirectoryPath = Path.Combine(outputDirectoryPath, "api"); + Directory.CreateDirectory(outputDirectoryPath); + + // Write namespace files and directories. + foreach (var @namespace in assemblyInfo.Namespaces) + { + var directoryPath = Path.Combine(outputDirectoryPath, @namespace.Namespace); + if (!Directory.Exists(directoryPath)) + { + Directory.CreateDirectory(directoryPath); + } + + documentGenerator = documentGeneratorFactory.Create(@namespace); + content = documentGenerator.Generate(); + filePath = Path.Join(outputDirectoryPath, $"{@namespace.Namespace}.md"); + File.WriteAllText(filePath, content); + } + + // Write type files. + foreach (var @namespace in assemblyInfo.Namespaces) + { + var directoryPath = Path.Combine(outputDirectoryPath, @namespace.Namespace); + foreach (var typeInfo in @namespace.Types) + { + documentGenerator = documentGeneratorFactory.Create(typeInfo); + content = documentGenerator.Generate(); + filePath = Path.Combine(directoryPath, $"{typeInfo.Type.Name}.md"); + File.WriteAllText(filePath, content); + } + } + } + + private void GenerateToc(string outputDirectoryPath, AssemblyInfo assemblyInfo) + { + var toc = new JObject + ( + new JProperty("api", new JObject + ( + new JProperty("title", "CsvHelper Namespaces"), + new JProperty("path", "api"), + new JProperty("children", new JArray + ( + assemblyInfo.Namespaces.Select(namespaceInfo => new JObject( + new JProperty("title", namespaceInfo.Namespace), + new JProperty("path", $"api/{namespaceInfo.Namespace}"), + new JProperty("children", new JArray + ( + namespaceInfo.Types.Select(typeInfo => new JObject + ( + new JProperty("title", typeInfo.Type.Name), + new JProperty("path", $"api/{namespaceInfo.Namespace}/{typeInfo.Type.Name}") + )) + )) + )) + )) + )) + ); + + var filePath = Path.Combine(outputDirectoryPath, "api.json"); + File.WriteAllText(filePath, JsonConvert.SerializeObject(toc, Formatting.Indented)); + } + } +} diff --git a/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/XmlDocs.cs b/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/XmlDocs.cs new file mode 100644 index 0000000..b1c9c83 --- /dev/null +++ b/ThirdParty/CsvHelper-master/docs-src/CsvHelper.DocsGenerator/XmlDocs.cs @@ -0,0 +1,12 @@ +using System; +using System.Xml.Linq; + +namespace CsvHelper.DocsGenerator +{ + public static class XmlDocs + { + private static readonly Lazy lazy = new Lazy(() => XElement.Load("CsvHelper.xml")); + + public static XElement XElement => lazy.Value; + } +} diff --git a/ThirdParty/CsvHelper-master/docs/.nojekyll b/ThirdParty/CsvHelper-master/docs/.nojekyll new file mode 100644 index 0000000..e69de29 diff --git a/ThirdParty/CsvHelper-master/docs/api/index.html b/ThirdParty/CsvHelper-master/docs/api/index.html new file mode 100644 index 0000000..6e555f3 --- /dev/null +++ b/ThirdParty/CsvHelper-master/docs/api/index.html @@ -0,0 +1,102 @@ + + + + + + + + + + + + + + + + + + + + + + + Index | CsvHelper + + + + + + + + + + + + + + + + +
+
+
+
+

Coming soon...

+ +
+
+
+
+ +

+ +
+
© 2009-2022 Josh Close
+
+ + + + + + + + + diff --git a/ThirdParty/CsvHelper-master/docs/browserconfig.xml b/ThirdParty/CsvHelper-master/docs/browserconfig.xml new file mode 100644 index 0000000..ae389fe --- /dev/null +++ b/ThirdParty/CsvHelper-master/docs/browserconfig.xml @@ -0,0 +1,11 @@ + + + + + + + + #ffffff + + + \ No newline at end of file diff --git a/ThirdParty/CsvHelper-master/docs/change-log/index.html b/ThirdParty/CsvHelper-master/docs/change-log/index.html new file mode 100644 index 0000000..7607512 --- /dev/null +++ b/ThirdParty/CsvHelper-master/docs/change-log/index.html @@ -0,0 +1,1808 @@ + + + + + + + + + + + + + + + + + + + + + + + Change Log | CsvHelper + + + + + + + + + + + + + + + + +
+
+
+
+

Change Log

+

30.0.1

+

Bug Fixes

+
    +
  • Fixed issue when writing with the escape char not being escaped if it was different than the quote char.
  • +
  • Fixed issue with CsvWriter not passing leavOpen parameter to other constructor call.
  • +
  • Fixed issue with TypeConverter being assigned to a member that has a Convert expression assigned to it.
  • +
+

30.0.0

+

Features

+
    +
  • Added Field and RawRecord to BadDataException.
  • +
  • Pass IWriterConfiguration into CsvWriter constructor instead of CsvConfiguration.
  • +
  • Allow inherited header prefixes.
  • +
  • Allow mapping to dynamic properties.
  • +
  • Added MemberName to the type converter exception message.
  • +
  • Added MaxFieldSize configuration. If max size is set and the size is reached, MaxFieldSizeException is thrown.
  • +
  • Added class level attribute capability.
    +New Attributes: +
      +
    • BufferSizeAttribute
    • +
    • CacheFieldsAttribute
    • +
    • CommentAttribute
    • +
    • CountBytesAttribute
    • +
    • DelimiterAttribute
    • +
    • DetectColumnCountChangesAttribute
    • +
    • DetectDelimiterAttribute
    • +
    • DetectDelimiterValueAttribute
    • +
    • EncodingAttribute
    • +
    • EscapeAttribute
    • +
    • ExceptionMessagesContainRawDataAttribute
    • +
    • HasHeaderRecordAttribute
    • +
    • IgnoreBlankLinesAttribute
    • +
    • IgnoreReferencesAttribute
    • +
    • IncludePrivateMembersAttribute
    • +
    • InjectionCharactersAttribute
    • +
    • InjectionEscapeCharacterAttribute
    • +
    • InjectionOptionsAttribute
    • +
    • LineBreakInQuotedFieldIsBadDataAttribute
    • +
    • MaxFieldSizeAttribute
    • +
    • ModeAttribute
    • +
    • NewLineAttribute
    • +
    • ProcessFieldAttribute
    • +
    • QuoteAttribute
    • +
    • TrimOptionsAttribute
    • +
    • UseNewObjectForNullReferenceMembersAttribute
    • +
    • WhiteSpaceCharsAttribute
    • +
    +
  • +
  • Added params object[] constructorArgs to TypeConverterAttribute.
  • +
  • Added validation message expression to Validate mapping.
  • +
  • Added IReaderRow to ValidateArgs.
  • +
  • Relax Default and Constant type constraints to IsAssignableFrom.
  • +
+

Bug Fixes

+
    +
  • Added null check in WriteRecords.
  • +
  • Fixed interpolation in exception message.
  • +
  • Fixed constructor mapping issue where parameter has a type converter but would still try and use constructor mapping.
  • +
+

Breaking Changes

+
    +
  • Added string field and string rawRecord to BadDataException constructor.
  • +
  • Added double MaxFieldSize { get; } to IParserConfiguration.
  • +
  • Added bool LeaveOpen { get; } to IWriterConfiguration.
  • +
  • Added bool LeaveOpen { get; } to IParserConfiguration.
  • +
  • Added IReaderRow row to ValidateArgs constructor.
  • +
+

29.0.0

+

Features

+
    +
  • Added support for TypeConverter factories. This allows for the ability to handle many types at once. +Code that manually handle nullable, enums, and collections were changed into factories.
  • +
  • Moved delimiter detection into a configuration function. +This allows for a user to easily change the detection logic. +Default logic is in ConfigurationFunction.GetDelimiter.
  • +
  • Changed CsvConfiguration.SanitizeInjection flag to CsvConfiguration.InjectionOptions enum. +
      +
    • Options are: +
        +
      • None - Default. Does no injection protection. The is default because it's not a part of CSV and is used for an external tool.
      • +
      • Escape - Escapes the field based on OWASP recommendations if an injection char is detected.
      • +
      • Strip - Removes the injection character.
      • +
      • Exception - Throws an exception if an injection char is detected.
      • +
      +
    • +
    • Added \t and \r to CsvConfiguration.InjectionEscapeCharacter.
    • +
    • Changed CsvConfiguration.InjectionEscapeCharacter from \t to '.
    • +
    +
  • +
  • CsvDataReader.GetDataTypeName will use types when the schema table is overridden.
  • +
  • More detail added to CsvConfiguration.Validate exception messages.
  • +
  • Reduce double dictionary lookup in a few places.
  • +
+

Bug Fixes

+
    +
  • Fixed issues with delimiter detection logic.
  • +
  • Missing ConfigureAwait(false) added to async calls.
  • +
  • Fixed issue with CsvReader.TryGetField throwing an exception when multiple headers are read.
  • +
  • Fixed issue with MemberMap.Validate passing the wrong type into the expression call.
  • +
  • Fixed issue with MemberMap<T>.Convert not working with static methods.
  • +
  • Fixed issue with DateTimeConverter and DateTimeOffsetConverter throwing an exception other than TypeConverterException on failure.
  • +
  • Fixed issue where MissingFieldFound was not being called if IgnoreBlankLines was off.
  • +
+

Breaking Changes

+
    +
  • CsvConfiguration.SanitizeForInjection -> CsvConfiguration.InjectionOptions
  • +
  • bool IWriterConfiguration.SanitizeForInjection -> InjectionOptions IWriterConfiguration.InjectionOptions
  • +
  • CsvConfiguration.InjectionEscapeCharacter changed from \t to '.
  • +
  • Added \t and \r to CsvConfiguration.InjectionCharacters.
  • +
  • Added GetDelimiter IParserConfiguration.GetDelimiter delegate.
  • +
+

28.0.1

+

Bug Fixes

+
    +
  • Disabled nullable until all null issues are fixed.
  • +
+

28.0.0

+

Features

+
    +
  • Updated delimiter detection algorithm. +
      +
    • Strips escaped text based on mode.
    • +
    • Only looks for delimiters that appear on every line.
    • +
    • Uses CultureInfo.TextInfo.ListSeparator if it's on every line.
    • +
    +
  • +
  • Cache processed fields in parser so they're not processed on every access.
  • +
  • Cache CsvParser.Record[] so multiple calls wont' regenerate it.
  • +
  • ShouldSkipRecord is null by default and won't get called if not set.
  • +
  • ShouldSkipRecordArgs holds IReaderRow now instead of string[].
  • +
  • Changed CsvParser constructor to take in IParserConfiguration instead of CsvConfiguration.
  • +
  • Changed CsvReader constructor to take in IReaderConfiguration instead of CsvConfiguration.
  • +
+

Bug Fixes

+
    +
  • Fixed issue where collection types weren't getting the correct MemberMapData passed to them when converting the item.
  • +
  • Fixed issue where BadDataFound was being called multiple times for the same field.
  • +
  • Fixed issue where you can't read with no header when a name has been mapped.
  • +
  • Fixed issue where quoted fields not correctly being identified if there was a buffer swap on white space before quote.
  • +
+

Breaking Changes

+
    +
  • ShouldSkipRecordArgs holds IReaderRow now instead of string[].
  • +
  • Removed ConfigurationFunctions.ShouldSkipRecord as the default is now null.
  • +
  • Added IParserConfiguration.Validate.
  • +
+

27.2.1

+

Bug Fixes

+
    +
  • Changed dependencies to minimal needed version.
  • +
+

27.2.0

+

Features

+
    +
  • Support for net60 DateOnly and TimeOnly types.
  • +
+

27.1.1

+

Bug Fixes

+
    +
  • Fixed issue with delimiter detection in parser async read.
  • +
+

27.1.0

+

Features

+
    +
  • Added IgnoreBaseAttribute to not look at the base class when auto mapping.
  • +
+

27.0.4

+

Bug Fixes

+
    +
  • Changed delimiter detection to look line by line instead of the full buffer.
  • +
+

27.0.3

+

Bug Fixes

+
    +
  • Specified exact dependency version matches.
  • +
+

27.0.2

+

Bug Fixes

+
    +
  • Fixed issue with delimiter detection.
  • +
+

27.0.1

+

Bug Fixes

+
    +
  • \t wasn't removed and just an exception was being thrown.
  • +
+

27.0.0

+

Features

+
    +
  • Config option to auto detect delimiter. Off by default.
  • +
  • Added ability to apply a type converter to all registered types.
  • +
  • Added ability to apply type converter options to all registered types.
  • +
  • Added ability to pass an IAsyncEnumerable to WriteRecords.
  • +
  • Added option to use default value on conversion failure.
  • +
+

Breaking Changes

+
    +
  • Added IParserConfiguration.DetectDelimiter.
  • +
  • Added IParserConfiguration.DetectDelimiterValues.
  • +
  • Added IWriter.WriteRecordsAsync<T>(IAsyncEnumerable<T> records, CancellationToken cancellationToken = default).
  • +
  • Removed \t from CsvConfiguration.WhiteSpaceChars as a default.
  • +
+

26.1.0

+

Features

+
    +
  • Allow schema of destination table to be specified in CsvDataReader.
  • +
+

26.0.1

+

Bug Fixes

+
    +
  • Fixed issue with constant not working when the field is missing.
  • +
+

26.0.0

+

Features

+
    +
  • Added configuration for ExceptionMessagesContainRawData that defaults to true.
  • +
+

Bug Fixes

+
    +
  • Removed all init properties. These were causing people too many problems.
  • +
  • Fixed issue with exception message not containing the header record.
  • +
+

Breaking Changes

+
    +
  • Added bool IParserConfiguration.ExceptionMessagesContainRawData { get; }.
  • +
  • Added bool IWriterConfiguration.ExceptionMessagesContainRawData { get; }.
  • +
  • All delegate args objects have init removed and now have constructors with parameters. +
      +
    • BadDataFound
    • +
    • ConvertFromString
    • +
    • GetConstructor
    • +
    • GetDynamicPropertyName
    • +
    • HeaderValidated
    • +
    • MissingFieldFound
    • +
    • PrepareHeaderForMatch
    • +
    • ReadingExceptionOccurred
    • +
    • ReferenceHeaderPrefix
    • +
    • ShouldQuote
    • +
    • ShouldSkipRecord
    • +
    • ShouldUseConstructorParameter
    • +
    • Validate
    • +
    +
  • +
+

25.0.0

+

Bug Fixes

+
    +
  • Fixed stack overflow issue with accessing Parser[int] or Parser.Record in BaddataFound callback. Throws an exception explaining issue now.
  • +
+

Breaking Changes

+
    +
  • All delegate args had their non-parameterless constructor removed in favor of using init.
  • +
+

24.0.1

+

Bug Fixes

+
    +
  • Fixed issue with Trimming all white space.
  • +
+

24.0.0

+

Features

+
    +
  • Added CancellationToken to reading and writing async methods.
  • +
+

Bug Fixes

+
    +
  • Fixed issue with ShouldQuote not having the correct field type when writing records instead of fields.
  • +
  • Fixed issue with CharCount and ByteCount when trimming.
  • +
+

Breaking Changes

+
    +
  • void IWriterRow.WriteConvertedField(string field) -> void IWriterRow.WriteConvertedField(string field, Type fieldType)
  • +
  • void CsvWriter.WriteConvertedField(string field) -> void CsvWriter.WriteConvertedField(string field, Type fieldType)
  • +
+

23.0.0

+

Features

+
    +
  • Changed public init properties to set. Once VB.NET implements init, it can change back.
  • +
  • Made method CsvWriter.WriteBuffer protected so sub classes can write fields.
  • +
  • CsvWriter.Flush and CsvWriter.FlushAsync will now flush the underlying TextWriter.
  • +
  • Changed all delegate methods to accept an args struct instead of parameters. This makes it easier to understand what parameters are passed in, and allows for additional parameters to be added later without a breaking change.
  • +
+

Breaking Changes

+
    +
  • Removed the large CsvConfiguration constructor. The properties are now settable, so this isn't needed for VB.NET.
  • +
  • All delegates now take in a single struct argument. +
      +
    • BadDataFound
    • +
    • ConvertFromString
    • +
    • GetConstructor
    • +
    • GetDynamicPropertyName
    • +
    • HeaderValidated
    • +
    • MissingFieldFound
    • +
    • PrepareHeaderForMatch
    • +
    • ReadingExceptionOccurred
    • +
    • ReferenceHeaderPrefix
    • +
    • ShouldQuote
    • +
    • ShouldSkipRecord
    • +
    • ShouldUseConstructorParameter
    • +
    • Validate
    • +
    +
  • +
+

22.1.2

+

Bug Fixes

+
    +
  • Fixed issue with data corruption when parser buffer ran out in middle of escape and quote.
  • +
+

22.1.1

+

Bug Fixes

+
    +
  • Fixed issue where CsvConfiguration.NewLine was being set when value is null in constructor causing IsNewLine to be true.
  • +
+

22.1.0

+

Features

+
    +
  • Added [EnumIgnoreAttribute].
  • +
+

Bug Fixes

+
    +
  • Fixed issue with EnumIgnoreCase value not making it to the converter when reading.
  • +
+

22.0.0

+

Features

+
    +
  • Changed ParserMode to CsvMode and added the modes to CsvWriter.
  • +
  • Added Type fieldType parameter to ShouldQuote delegate.
  • +
  • Added TypeConverterOptions.EnumIgnoreCase (default is false). Allows EnumConverter to ignore case when matching enum names, values, or NameAttribute.
  • +
+

Bug Fixes

+
    +
  • Fixed issue with EnumConverter when duplicate names or values appeared in an Enum.
  • +
+

Breaking Changes

+
    +
  • ParserMode -> CsvMode
  • +
  • Added IParserConfiguration.ProcessFieldBufferSize.
  • +
  • Added IWriterConfiguration.Mode.
  • +
  • ShouldQuote(string, IWriterRow) -> ShouldQuote(string, Type, IWriterRow).
  • +
  • EnumConverter was changed to case sensitive by default.
  • +
+

21.3.1

+

Bug Fixes

+
    +
  • Fixed issue with CsvContext not being passed into AutoMap.
  • +
+

21.3.0

+

Features

+
    +
  • Added back Excel compatibility for bad data fallback. +
      +
    1. If a field doesn't start with a Quote, read until a Delimiter or NewLine is found.
    2. +
    3. If in quoted field and a Quote is found that isn't preceded by an Escape, read until a Delimiter or NewLine` is found.
    4. +
    5. TrimOptions.Trim will be applied before these rules.
    6. +
    +
  • +
+

21.2.1

+

Bug Fixes

+
    +
  • Fixed issue with processed field buffer not being large enough on resize.
  • +
+

21.2.0

+

Features

+
    +
  • Process boolean and null type converter options when writing.
  • +
+

21.1.2

+

Bug Fixes

+
    +
  • Fixed parsing issue with state not being reset when buffer is filled in the middle of a state.
  • +
+

21.1.1

+

Bug Fixes

+
    +
  • Fixed parsing issue with buffer ending in the middle of a line ending.
  • +
+

21.1.0

+

Features

+
    +
  • Added ParserMode.NoEscape. This will ignore quotes and escape characters.
  • +
+

21.0.6

+

Bug Fixes

+
    +
  • Fixed issue with writing a field that is larger then 2x the buffer size.
  • +
+

21.0.5

+

Bug Fixes

+
    +
  • Fixed issue with VB not being able to set init properties on CsvConfiguration by adding a constructor that takes in all properties as optional named arguments.
  • +
+

21.0.4

+

Bug Fixes

+
    +
  • Fixed issue with cache miss in on both the reader and writer.
  • +
+

21.0.3

+

No changes.

+

21.0.2

+

Bug Fixes

+
    +
  • Fixed issue with CsvConfiguration.NewLine not defaulting to '\r\n'.
  • +
+

21.0.1

+

Big Fixes

+
    +
  • Fixed issue with CsvWriter not keeping track of Row and Index.
  • +
+

21.0.0

+

Features

+
    +
  • CsvConfiguration.NewLine changed to a string. You can now read and write any string you like for a line ending. This defaults to Environment.NewLine. When reading, if the value is not explicitly set \r\n, \r, or \n will still be used.
  • +
+

Bug Fixes

+
    +
  • Fixed issue with other platforms than net50 using init.
  • +
  • Fixed issue with being unable to write \r\n in an environment that does use that for Environment.NewLine.
  • +
+

Breaking Changes

+
    +
  • char? CsvConfiguration.NewLine changed to string CsvConfiguration.NewLine.
  • +
+

20.0.0

+

Features

+
    +
  • Parser performance.
  • +
  • Writer performance.
  • +
  • Changed CsvConfiguration to a read only record to eliminate threading issues.
  • +
  • Unix parsing mode. Uses escape character instead of field quoting. Configurable NewLine.
  • +
  • Field caching. Disabled by default. When enabled, this will cache all fields created so duplicate fields won't need to create a new string from a character array.
  • +
+

Breaking Changes

+
    +
  • Removed Caches enum.
  • +
  • ReadingContext and WritingContext were merged into a single CsvContext. Anywhere that used either was changed to CsvContext.
  • +
  • All Funcs and Actions now have their own delegate.
  • +
  • ConvertUsing renamed to Convert.
  • +
  • ShouldQuote now takes in IWriterRow instead of CsvContext.
  • +
  • CsvConfiguration changed from a class to a record.
  • +
  • All CsvConfiguration properties changed to read only get; init;.
  • +
  • CsvConfiguration.NewLine changed to char?.
  • +
  • CsvConfiguration.NewLineString removed.
  • +
  • CsvConfiguration.RegisterClassMap moved to CsvContext.
  • +
  • CsvConfiguration.UnregisterClassMap moved to CsvContext.
  • +
  • CsvConfiguration.AutoMap moved to CsvContext.
  • +
  • All IParserConfiguration setters removed.
  • +
  • bool IParserConfiguration.CacheFields added.
  • +
  • bool IParserConfiguration.LeaveOpen added.
  • +
  • char? IParserConfiguration.NewLine added.
  • +
  • ParserMode IParserConfiguration.Mode added.
  • +
  • IParserConfiguration.IgnoreQuotes removed.
  • +
  • char[] IParserConfiguration.WhiteSpaceChars added.
  • +
  • All IReaderConfiguration setters removed.
  • +
  • IReaderConfiguration.TypeConverterOptionsCache removed.
  • +
  • IReaderConfiguration.TypeConverterCache removed.
  • +
  • IReaderConfiguration.Maps removed.
  • +
  • IReaderConfiguration.RegisterClassMap removed.
  • +
  • IReaderConfiguration.UnregisterClassMap removed.
  • +
  • IReaderConfiguration.AutoMap removed.
  • +
  • ISerializerConfiguration removed and properties added to IWriterConfiguration.
  • +
  • All IWriterConfiguration setters removed.
  • +
  • IWriterConfiguration.QuoteString removed.
  • +
  • IWriterConfiguration.TypeConverterCache removed.
  • +
  • IWriterConfiguration.MemberTypes removed.
  • +
  • IWriterConfiguration.Maps removed.
  • +
  • IWriterConfiguration.RegisterClassMap removed.
  • +
  • IWriterConfiguration.UnregisterClassMap removed.
  • +
  • IWriterConfiguration.AutoMap removed.
  • +
  • MemberMap.Optional added.
  • +
  • MemberMap<TClass, TMember>.ConvertUsing renamed to Convert.
  • +
  • CsvFieldReader removed.
  • +
  • CsvParser.Read returns boolean instead of string[].
  • +
  • CsvParser constructors that take in a FieldReader removed.
  • +
  • CsvParser[int index] added to retrieve fields after a Read.
  • +
  • CsvSerializer removed.
  • +
  • IFieldReader removed.
  • +
  • IParser.ByteCount added.
  • +
  • IParser.CharCount added.
  • +
  • IParser.Count added.
  • +
  • IParser[int index] added.
  • +
  • IParser.Record added.
  • +
  • IParser.RawRecord added.
  • +
  • IParser.Row added.
  • +
  • IParser.RawRow added.
  • +
  • IParser.Read returns bool instead of string[].
  • +
  • IParser.ReadAsync returns bool instead of string[].
  • +
  • IReader.Parser removed.
  • +
  • int IReaderRow.ColumnCount added.
  • +
  • int IReaderRow.CurrentIndex added.
  • +
  • string[] IReaderRow.HeaderRecord added.
  • +
  • IParser IReaderRow.Parser added.
  • +
  • ISerializer removed.
  • +
  • string[] IWriterRow.HeaderRecord added.
  • +
  • int IWriterRow.Row added.
  • +
  • int IWriterRow.Index added.
  • +
  • RecordBuilder removed.
  • +
+

19.0.0

+

Features

+
    +
  • Added the rest of the mapping and attributes configuration for constructor parameters.
  • +
  • Reading speed improvement.
  • +
+

Breaking Changes

+
    +
  • Added IParameterMapper to BooleanFalseValuesAttribute, BooleanTrueValuesAttribute, ConstantAttribute, CultureInfoAttribute, DateTimeStylesAttribute, DefaultAttribute, FormatAttribute, HeaderPrefixAttribute, IgnoreAttribute, NameIndexAttribute, NullValuesAttribute, NumberStylesAttribute, OptionalAttribute, and TypeConverterAttribute.
  • +
  • Renamed MapTypeConverterOption to MemberMapTypeConverterOptions.
  • +
  • Renamed TypeConverterOptions.NumberStyle to TypeConverterOptions.NumberStyles.
  • +
  • Removed ReflectionHelper.CreateInstance<T>.
  • +
  • Removed ReflectionHelper.CreateInstance.
  • +
  • Removed ReflectionHelper.CreateInstanceWithoutContractResolver.
  • +
+

18.0.0

+

Features

+
    +
  • Added parameter mapping via class map or attributes.
  • +
+

Breaking Changes

+
    +
  • NameAttribute added interface IParameterMapper.
  • +
  • IndexAttribute added interface IParameterMapper.
  • +
+

17.0.1

+

Bug Fixes

+
    +
  • Fixed issue where EnumConverter wasn't working if enum value wasn't an Int32.
  • +
+

17.0.0

+

Features

+
    +
  • ValidateHeader will validate all members before calling HeaderValidated.
  • +
+

Breaking Changes

+
    +
  • Action<bool, string[], int, ReadingContext> IReaderConfiguration.HeaderValidated -> Action<InvalidHeader[], ReadingContext> IReaderConfiguration.HeaderValidated
  • +
  • Action<bool, string[], int, ReadingContext> CsvConfiguration.HeaderValidated -> Action<InvalidHeader[], ReadingContext> CsvConfiguration.HeaderValidated
  • +
  • ConfigurationFunctions.HeaderValidated signature changed from (bool isValid, string[] headerNames, int headerNameIndex, ReadingContext context) to (InvalidHeader[] invalidHeaders, ReadingContext context)
  • +
  • CsvReader.ValidateHeader(ClassMap map) -> CsvReader.ValidateHeader(ClassMap map, List<InvalidHeader> invalidHeaders)
  • +
  • Removed HeaderValidationException.HeaderNames.
  • +
  • Removed HeaderValidationException.HeaderNameIndex.
  • +
  • Added InvalidHeader[] HeaderValidationException.InvalidHeaders.
  • +
+

16.2.0

+

Features

+
    +
  • Added ability to put [Name] attribute on enum values.
  • +
  • Added ability to register a converter for Enum that will be a default for all enum types.
  • +
+

16.1.0

+

Features

+
    +
  • GetRecords throws ObjectDisposedException when CsvReader is disposed. A message hint was added to help the user understand what went wrong.
  • +
+

16.0.0

+

Features

+
    +
  • Ability to have duplicate header names when using dynamic records.
  • +
+

Breaking Changes

+
    +
  • Added Func<ReadingContext, int, string> IReaderConfiguration.GetDynamicPropertyName.
  • +
  • Added Func<ReadingContext, int, string> CsvConfiguration.GetDynamicPropertyName.
  • +
+

15.0.10

+
    +
  • Fixed IgnoreAttribute to ignore the whole property treey if put on a reference property when auto mapped.
  • +
+

15.0.9

+

Bug Fixes

+
    +
  • Fixed issue where CsvDataReader.FieldCount was throwing an exception if there were no records.
  • +
+

15.0.8

+

Bug Fixes

+
    +
  • Fixed CsvDataReader.GetOrdinal issue where it wasn't doing a case-insensitive match after a failed case-sensitive match. Run values through PrepareHeaderForMatch.
  • +
+

15.0.7

+

Bug Fixes

+
    +
  • Fixed issue where writing null to WriteField didn't output a field.
  • +
+

15.0.6

+

Bug Fixes

+
    +
  • Fixed test not building.
  • +
+

15.0.5

+

Bug Fixes

+
    +
  • Fixed issue with multiple character delimiter not working when the first char of the delimiter precedes the actual delimiter.
  • +
+

15.0.4

+

Bug Fixes

+
    +
  • Fixed issue with ReflectionHelper caching not always unique.
  • +
+

15.0.3

+

Bug Fixes

+
    +
  • Updated default number styles for DecimalConverter and DoubleConverter to match MS's recommendations.
  • +
+

15.0.2

+

Bug Fixes

+
    +
  • Fixed issue with DataReader.GetValues not working when column and rows have different count.
  • +
+

15.0.1

+

Bug Fixes

+
    +
  • Downgraded System.Threading.Tasks.Extensions to 4.5.2 due to loading error of Microsoft.Bcl.AsyncInterfaces.
  • +
+

15.0.0

+

Features

+
    +
  • Ignore attribute on a reference will ignore all properties on that reference.
  • +
+

Breaking Changes

+
    +
  • Added IMemberReferenceMapper to IgnoreAttribute.
  • +
+

14.0.0

+

Features

+
    +
  • Added IAsyncDispose on writing classes.
  • +
+

Breaking Changes

+
    +
  • Added dependency <PackageReference Include="System.Threading.Tasks.Extensions" Version="4.5.3" /> to net45.
  • +
  • Added dependency <PackageReference Include="System.Threading.Tasks.Extensions" Version="4.5.3" /> to net47.
  • +
  • Added dependency <PackageReference Include="System.Threading.Tasks.Extensions" Version="4.5.3" /> to netstandard2.0.
  • +
  • IWriter added interface IAsyncDisposable for net47 and netstandard2.1.
  • +
  • ISerializer added interface IAsyncDisposable for net47 and netstandard2.1.
  • +
  • WritingContext added interface IAsyncDisposable for net47 and netstandard2.1.
  • +
  • CsvWriter added methods public async ValueTask DisposeAsync() and protected virtual async ValueTask DisposeAsync(bool disposing) for net47 and netstandard.
  • +
  • CsvSerializer added methods public async ValueTask DisposeAsync() and protected virtual async ValueTask DisposeAsync(bool disposing) for net47 and netstandard.
  • +
  • WritingContext added methods public async ValueTask DisposeAsync() and protected virtual async ValueTask DisposeAsync(bool disposing) for net47 and netstandard.
  • +
+

13.0.0

+

Features

+
    +
  • Added netstandard2.1 build.
  • +
  • Added required CultureInfo parameter to any class that uses CultureInfo.
  • +
  • Apply member attributes using interface instead of hard coding.
  • +
  • Added customizable new line when writing. You can choose from CRLF, CR, LF, or Environment.NewLine.
  • +
  • Renamed Configuration to CsvConfiguration to avoid namespace conflicts.
  • +
  • Added GetRecordsAsync and WriteRecordsAsync.
  • +
+

Breaking Changes

+
    +
  • Removed dependency <PackageReference Include="System.Reflection.TypeExtensions" Version="4.4.0" /> from netstandard2.0.
  • +
  • Removed dependency <PackageReference Include="System.Reflection.TypeExtensions" Version="4.4.0" /> from netstandard2.1.
  • +
  • Added dependency <PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="1.1.0" /> to net47.
  • +
  • Added dependency <PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="1.1.0" /> to netstandard2.0.
  • +
  • ClassMap.AutoMap() -> ClassMap.AutoMap(CultureInfo)
  • +
  • CsvParser.CsvParser(TextReader) -> CsvParser.CsvParser(TextReader, CultureInfo)
  • +
  • CsvParser.CsvParser(TextReader, bool) -> CsvParser.CsvParser(TextReader, CultureInfo, bool)
  • +
  • CsvReader.CsvReader(TextReader) -> CsvReader.CsvReader(TextReader, CultureInfo)
  • +
  • CsvReader.CsvReader(TextReader, bool) -> CsvReader.CsvReader(TextReader, CultureInfo, bool)
  • +
  • CsvSerializer.CsvSerializer(TextWriter) -> CsvSerializer.CsvSerializer(TextWriter, CultureInfo)
  • +
  • CsvSerializer.CsvSerializer(TextWriter, bool) -> CsvSerializer.CsvSerializer(TextWriter, CultureInfo, bool)
  • +
  • CsvWriter.CsvWriter(TextWriter) -> CsvWriter.CsvWriter(TextWriter, CultureInfo)
  • +
  • CsvWriter.CsvWriter(TextWriter, bool) -> CsvWriter.CsvWriter(TextWriter, CultureInfo, bool)
  • +
  • Factory.CreateParser(TextReader) -> Factory.CreateParser(TextReader, CultureInfo)
  • +
  • Factory.CreateReader(TextReader) -> Factory.CreateReader(TextReader, CultureInfo)
  • +
  • Factory.CreateWriter(TextWriter) -> Factory.CreateWriter(TextWriter, CultureInfo)
  • +
  • IFactory.CreateParser(TextReader) -> IFactory.CreateParser(TextReader, CultureInfo)
  • +
  • IFactory.CreateReader(TextReader) -> IFactory.CreateReader(TextReader, CultureInfo)
  • +
  • IFactory.CreateWriter(TextWriter) -> IFactory.CreateWriter(TextWriter, CultureInfo)
  • +
  • Added ISerializerConfiguration.NewLine.
  • +
  • Added ISerializerConfiguration.NewLineString.
  • +
  • Added Configuration.NewLine.
  • +
  • Added Configuration.NewLineString.
  • +
  • Removed Configuration.Configuration() parameterless constructor.
  • +
  • Attributes now require the use of IMemberMapper or IMemberReferenceMapper to be loaded. All existing attributes added these and implemented the interface.
  • +
  • Renamed Configuration to CsvConfiguration.
  • +
  • Added IAsyncEnumerable<T> CsvReader.GetRecordsAsync<T>()
  • +
  • Added IAsyncEnumerable<T> CsvReader.GetRecordsAsync<T>(T anonymousTypeDefinition)
  • +
  • Added IAsyncEnumerable<object> CsvReader.GetRecordsAsync(Type type)
  • +
  • Added IAsyncEnumerable<T> CsvReader.EnumerateRecordsAsync<T>(T record)
  • +
  • Added Task CsvWriter.WriteRecordsAsync(IEnumerable records)
  • +
  • Added Task CsvWriter.WriteRecordsAsync<T>(IEnumerable<T> records)
  • +
  • Added IAsyncEnumerable<T> IReader.GetRecordsAsync<T>()
  • +
  • Added IAsyncEnumerable<T> IReader.GetRecordsAsync<T>(T anonymousTypeDefinition)
  • +
  • Added IAsyncEnumerable<object> IReader.GetRecordsAsync(Type type)
  • +
  • Added IAsyncEnumerable<T> IReader.EnumerateRecordsAsync<T>(T record)
  • +
  • Added Task IWriter.WriteRecordsAsync(IEnumerable records)
  • +
  • Added Task IWriter.WriteRecordsAsync<T>(IEnumerable<T> records)
  • +
+

12.3.2

+

Bug Fixes

+
    +
  • Changed double and single converters to only test for format "R" if the user hasn't supplied a format.
  • +
+

12.3.1

+

Bug Fixes

+
    +
  • Fix for bug in .NET Framework that causes a StackOverflowException. This needs to be changed back eventually.
  • +
+

12.3.0

+

Features

+
    +
  • Added UriConverter.
  • +
+

12.2.3

+

Big Fixes

+
    +
  • Changed round trip default format to test if "R" works and use backup of "G9" for float and "G17" for double.
  • +
+

12.2.2

+

Bug Fixes

+
    +
  • Fixed issue where multiple properties with the same name were used when a child class property hides a parent class property using the new modifier.
  • +
  • Fixed issue where a null reference exception was thrown when writing and all properties are ignored.
  • +
+

12.2.1

+

Bug Fixes

+
    +
  • Fixed issue where an "Index out of bounds of the array" exception was happening on TryGetField of type DateTime.
  • +
  • Fix RawRecord adding spaces if TrimOptions.Trim is used.
  • +
+

12.2.0

+

Features

+
    +
  • Allow default value when using optional members.
  • +
  • Added BigIntConverter.
  • +
  • Mapping to member with type Type will throw exception by default.
  • +
+

Bug Fixes

+
    +
  • Made SingleConverter and DoubleConverter round-trip-able.
  • +
+

12.1.3

+

Bug Fixes

+
    +
  • Always write \r\n line endings to be compliant with RFC 4180.
  • +
+

12.1.2

+

Bug Fixes

+
    +
  • Fixed issue where CsvDataReader would skip the first row when there is no header record.
  • +
  • Fixed CsvDataReader issue where null values weren't being represented as DBNull.Value on GetValue and GetValues methods.
  • +
  • Fixed issue with IsDBNull method where an empty string was considered a null.
  • +
+

12.1.1

+

Bug Fixes

+
    +
  • Fixed issue where CsvReader.ReadAsync wasn't behaving the same as CsvReader.Read.
  • +
+

12.1.0

+

Features

+
    +
  • Added constructor to Configuration to pass in the CultureInfo. When passing a culture in, the Delimiter will be set to CultureInfo.TextInfo.ListSeparator.
  • +
+

12.0.1

+

Bug Fixes

+
    +
  • Fixed issue where writing a dynamic object would still sort the header when no sort was specified.
  • +
+

12.0.0

+

Features

+
    +
  • Added config option for sorting dynamic object properties when writing. Defaults to property value set order.
  • +
+

Breaking Changes

+
    +
  • Added IComparer<string> IWriterConfiguration.DynamicPropertySort.
  • +
  • Added IComparer<string> Configuration.DynamicPropertySort.
  • +
+

11.0.1

+

Bug Fixes

+
    +
  • Fixed issue with leaveOpen not being used in the context's dispose.
  • +
+

11.0.0

+

Features

+
    +
  • Removed config options QuoteAllFields, QuoteNoFields, QuoteRequiredChars, and BuildREquiredQuoteChars in favor of ShouldQuote function.
  • +
+

Breaking Changes

+
    +
  • Removed IWriterConfiguration.QuoteAllFields.
  • +
  • Removed IWriterConfiguration.QuoteNoFields.
  • +
  • Removed IWriterConfiguration.QuoteRequiredChars.
  • +
  • Removed IWriterConfiguration.BuildRequiredQuoteChars.
  • +
  • Removed Configuration.QuoteAllFields.
  • +
  • Removed Configuration.QuoteNoFields.
  • +
  • Removed Configuration.QuoteRequiredChars.
  • +
  • Removed Configuration.BuildRequiredQuoteChars.
  • +
  • Added Func<string, WritingContext, bool> IWriterConfiguration.ShouldQuote.
  • +
  • Added Func<string, WritingContext, bool> Configuration.ShouldQuote.
  • +
+

10.0.0

+

Features

+
    +
  • Added a more friendly header validation message.
  • +
  • Separated header and field validation exceptions.
  • +
  • Added data properties to validation classes.
  • +
  • Changed Configuration.ReadingExceptionOccurred to not throw an exception and return a boolean whether it should throw an exception. The caller will throw if true.
  • +
  • Changed NamedIndexCache type from Tuple<string, int> to (string, int).
  • +
  • Config option to consider a line break in a quoted field as bad data.
  • +
  • Changed delimiter default value from ',' to CultureInfo.CurrentCulture.TextInfo.ListSeparator.
  • +
  • PrepareHeaderForMatch now passes in the header name and index.
  • +
  • Dynamic records will now have null properties for missing fields.
  • +
  • Write ExpandoObject and IDynamicMetaObjectProvider object properties in ascending order to ensure order of property creation doesn't matter.
  • +
  • Added escape character configuration.
  • +
  • Added IDataReader implementation. This allows for easily loading a DataTable.
  • +
+

Breaking Changes

+
    +
  • ValidationException is now abstract.
  • +
  • IReaderConfiguration.ReadingExceptionOccurred type changed from Action<CsvHelperException> to Func<CsvHelperException, bool>.
  • +
  • Configuration.ReadingExceptionOccurred type changed from Action<CsvHelperException> to Func<CsvHelperException, bool>.
  • +
  • Changed NamedIndexCache type from Tuple<string, int> to (string, int). This adds a dependency to System.ValueTuple on .NET 4.5.
  • +
  • Added bool IParserConfiguration.LineBreakInQuotedFieldIsBadData.
  • +
  • Added bool Configuration.LineBreakInQuotedFieldIsBadData.
  • +
  • Changed IReaderConfiguration.PrepareHeaderForMatch type from Func<string, string> to Func<string, int, string>.
  • +
  • Changed Configuration.PrepareHeaderForMatch type from Func<string, string> to Func<string, int, string>.
  • +
  • Added char ISerializerConfiguration.Escape.
  • +
  • Added char IParserConfiguration.Escape.
  • +
  • Added char Configuration.Escape.
  • +
+

9.2.3

+

Bug Fixes

+
    +
  • Fixed issue where TrimOptions.InsideQuotes would fail when there were escaped quotes in the field.
  • +
+

9.2.2

+

Bug Fixes

+
    +
  • Fixed issue where NamedIndexes wasn't being reset on ReadHeader call.
  • +
+

9.2.1

+

Bug Fixes

+
    +
  • Fixed issue where a TypeConverterAttribute isn't being used when on a reference.
  • +
+

9.2.0

+

Features

+
    +
  • More clear exception messages when reading and a missing field is found.
  • +
+

9.1.0

+

Features

+
    +
  • Allow parameterless constructor on classes and reference property classes when auto mapping.
  • +
+

9.0.2

+

Bug Fixes

+
    +
  • Fixed issue where WriteAsync wasn't calling SanitizeForInjection.
  • +
+

9.0.1

+

Bug Fixes

+
    +
  • Fixed issue where leaveOpen parameter in CsvParser constructor was hard coded.
  • +
  • Fixed issue where header validation was being ran on properties that only had an index mapped.
  • +
+

9.0.0

+

This release contains changes from 8.3.0 and 8.2.0.

+

8.3.0

+

This has been unlisted in nuget because of a breaking change before it. The changes are in 9.0.0.

+

Features

+
    +
  • Removed restriction that was disallowing the null char '\0' to be used as a delimiter.
  • +
+

8.2.0

+

This has been unlisted in nuget because of a breaking change. The changes are in 9.0.0.

+

Features

+
    +
  • Added Optional config to factory builder.
  • +
  • Added OptionalAttribute.
  • +
+

Breaking Changes

+
    +
  • Added IHasMapOptions : IHasOptional.
  • +
  • Added MemberMapBuilder : IHasOptional.
  • +
  • Added MemberMapBuilder : IHasOptionalOptions.
  • +
+

8.1.1

+

Features

+
    +
  • Configuration functions are available on a static class ConfigurationFunctions.
  • +
+

Bug Fixes

+
    +
  • Fixed issue where IgnoreBlankLines wasn't being checked in GetField<T>(int index, ITypeConverter converter).
  • +
+

8.1.0

+

Features

+
    +
  • Added IsOptional mapping option.
  • +
+

8.0.0

+

Features

+
    +
  • Added Unity build.
  • +
  • Added IsOptional mapping option.
  • +
+

Bug Fixes

+
    +
  • Added missing interface methods to configs.
  • +
  • Fixed issue with parsing when only CR is used and fields are quoted.
  • +
  • Fixed issue where GetField was calling the ObjectResolver.
  • +
  • Made the contexts not serializable in exceptions.
  • +
  • Fixed issue with ObjectResolver fallback causing a StackOverflowException.
  • +
+

Breaking Changes

+
    +
  • Added IReaderConfiguration.IgnoreReferences.
  • +
  • Added IWriterConfiguration.IgnoreReferences.
  • +
+

7.1.1

+

Bug Fixes

+
    +
  • Added constructor to CsvWriter that allows for leaveOpen to be set.
  • +
  • Made CsvWriter.Dispose able to be called multiple times.
  • +
  • Added ConfigureAwait(false) to all async calls.
  • +
+

7.1.0

+

Features

+
    +
  • Changed record object creation to use the ObjectResolver.
  • +
+

7.0.1

+

Bug Fixes

+
    +
  • Allow private constructors to be used to instantiate new class instances.
  • +
+

7.0.0

+

Features

+
    +
  • Reading performance improvements.
  • +
+

Breaking Changes

+
    +
  • Removed IReadingContext and IWritingContext interfaces. ReadingContext and WritingContext are used directly now.
  • +
+

6.1.1

+

Bug Fixes

+
    +
  • Fixed issue with circular references when auto mapping.
  • +
+

6.1.0

+

Features

+
    +
  • Dynamic now uses Configuration.PrepareHeaderForMatch on header name to get property name for dynamic object.
  • +
+

6.0.3

+

Bug Fixes

+
    +
  • Fixed issue with LINQPad not working properly due to types from differently assemblies being cached in the writer.
  • +
+

Breaking Changes

+
    +
  • IWritingContext.TypeActions signature changed.
  • +
+

6.0.2

+

Bug Fixes

+
    +
  • Fixed issue with LINQPad not working properly due to types from differently assemblies being cached.
  • +
+

6.0.0

+

Features

+
    +
  • Use ObjectResolver to create internal classes RecordManager, ExpressionManager, RecordCreatorFactory, and RecordHydrator, RecordWriterFactory.
  • +
  • Added generic resolve method to object resolver.
  • +
  • Added mapping methods to MemberMap for use during runtime mapping.
  • +
  • Added more info and properties to TypeConverterException.
  • +
+

Bug Fixes

+
    +
  • Fixed issue where mapping an interface doesn't get used when writing.
  • +
+

Breaking Changes

+
    +
  • Added IObjectResolver.Resolve<T>( params object[] constructorArgs ) method.
  • +
  • Added IWriter.WriteRecords<T>( IEnumerable<T> records ) method.
  • +
  • TypeConverterException constructors signatures changed.
  • +
+

5.0.0

+

Features

+
    +
  • Added Map<TClass>.References( expression ) back in.
  • +
+

Bug Fixes

+
    +
  • Fixed DefaultTypeConverterException message. The generated message wasn't being used.
  • +
+

4.0.3

+

Bug Fixes

+
    +
  • Added ReadingExceptionOccurred callback to GetRecord methods when an exception occurs.
  • +
+

4.0.2

+

Bug Fixes

+
    +
  • Fixed issue with parsing when buffer spans over a field.
  • +
+

4.0.1

+

Bug Fixes

+
    +
  • Fixed issue where trimming inside quotes would fail when the character after a space was a delimiter, \r, or \n.
  • +
+

4.0.0

+

Breaking Changes

+
    +
  • Added setter to ISerializerConfiguration.Quote.
  • +
  • Removed ClassMap<TClass>.References( expression, constructorArs ). Use sub property mapping instead.
  • +
  • Removed ClassMap<TClass>.ConstructUsing( expression ). Use the ObjectResolver` instead.
  • +
  • Change how reference header prefixing works.
  • +
  • Changed Configuration/IReaderConfiguration/IWriterConfiguration bool PrefixReferenceHeaders to Func<Type, string, string> ReferenceHeaderPrefix. The function takes in the member type and member name and returns the prefix.
  • +
  • Removed MemberReferenceMap.Prefix() method.
  • +
  • Removed ParameterReferenceMap.Prefix() method.
  • +
  • Changed Configuration/IReaderConfiguration/IWriterConfiguration ClassMap AutoMap<T>() to ClassMap<T> AutoMap<T>()
  • +
  • Changed TypeConverterException constructors parameter from ReadingContext to IReadingContext.
  • +
+

3.4.0

+

Bug Fixes

+
    +
  • Fixed issue when a map was created through auto mapping, you couldn't use sub property mapping to update a member.
  • +
+

3.3.0

+

Features

+
    +
  • Added more information to the DefaultTypeConverter.ConvertFromString not convertible exception.
  • +
  • Reduced the number of PrepareHeaderForMatch calls.
  • +
+

3.2.0

+

Features

+
    +
  • Attribute mapping. It's back...
  • +
+

3.1.1

+

Bug Fixes

+
    +
  • Fixed issue where you weren't able to write IEnumerable.
  • +
+

3.1.0

+

Features

+
    +
  • Allow multiple headers to be written.
  • +
+

Bug Fixes

+
    +
  • Flush CsvWriter on Dispose.
  • +
  • Made ShouldSkipRecord not called if the parser returns null for an end of stream.
  • +
  • ShouldUseConstructorParameters returns false if there are no constructors.
  • +
  • Header validation doesn't validate members where ConvertUsing or Constant are used.
  • +
+

3.0.0

+

Features

+
    +
  • netstandard2.0
  • +
  • Massive speed improvements to the CsvParser.
  • +
  • Speed improvements to CsvSerializer.
  • +
  • Map child properties so multiple mapping classes aren't needed.
  • +
  • ConvertUsing implementation for writing.
  • +
  • Read/write IEnumerable properties.
  • +
  • Field mapping.
  • +
  • Async reading/writing.
  • +
  • Added ClassMapBuilder to build maps on the fly without a mapping class.
  • +
  • Write IDynamicMetaObjectProvider objects. DynamicObject and ExpandoObject are the 2 most common.
  • +
  • Allow null fields to be written.
  • +
  • IDictionary type converters.
  • +
  • Added trim options to trim in parser and removed trim from reader.
  • +
  • Header validation.
  • +
  • Field validation.
  • +
  • Added leaveOpen flag to constructors to not dispose of underlying TextReader and TextWriter.
  • +
  • Added properties to CsvHelperException and removed the string data.
  • +
  • Speed up mappings that use ConvertUsing by caching the named indexes.
  • +
  • Write comments.
  • +
  • Map constants.
  • +
  • Write fields that aren't mapped.
  • +
  • Specify values that resolve to null when reading.
  • +
  • Added CsvProperMap to allow for compile time type checking on mappings.
  • +
  • Read more than 1 header row.
  • +
  • Changed reading exception callback to send a CsvHelperException.
  • +
  • Map the same property more than once.
  • +
  • Exposed the underlying TextReader as a property.
  • +
  • Removed header matching manipulation configuration IsHeaderCaseSensitive, IgnoreHeaderWhiteSpace, and TrimHeaders and added a config for PrepareHeaderForMatch that is a function. Both the header field name and the property name are ran through this method before matching against each other.
  • +
  • Added interfaces for configuration so you can tell what options are available in your current context.
  • +
  • Moved detection of column count changes into the reader. The parser shouldn't care and should just return whatever data it finds.
  • +
  • ConstructUsing works with reference maps.
  • +
  • ConstructUsing can use initializers.
  • +
  • Allow resuming reading of more data is written to the stream.
  • +
  • Auto mapping with user defined struct.
  • +
  • Ability to change required quote characters.
  • +
  • Speed improvements when using GetField.
  • +
  • Speed improvements when using WriteField.
  • +
  • Allow mapping default value to be a string that is converted.
  • +
  • Moved reading/writing state data into a common context object that is shared.
  • +
  • Multiple string formats for TypeConverterOptions.
  • +
  • Created object resolver so interfaces can be mapped to and IoC containers can be plugged in.
  • +
  • Made methods ReIndex and GetMaxIndex on CsvClassMap public.
  • +
  • Added a Flush method to the writer so NextRecord just writes a line ending. This will allow users to not write a line ending if they want.
  • +
  • Removed statics to eliminate possible threading issues.
  • +
  • Added SerializableAttribute to exception classes. It was removed previously because of netstandard1.x not having it available.
  • +
  • Added ByteArrayConverter.
  • +
  • Reading anonymous types.
  • +
  • Auto mapping with any constructor.
  • +
  • Changed Property naming to Member since both properties and fields are used.
  • +
  • TypeConverterFactory is now instance of Configuration instead of a static.
  • +
  • Changed Configuration flags to callbacks with default functionality to let the user change the functionality if they want.
  • +
+

Bug Fixes

+
    +
  • Fixed issue with CsvClassMapCollection[type] choosing the wrong type when multiple types on the inheritance tree are mapped.
  • +
  • Fixed issue where setting Configuration.ShouldSkipRecord method always overrides the Configuration.SkipEmptyRecords setting.
  • +
  • Fixed issue where ignoring header whitespace wouldn't work if a named property had the same whitespace in it.
  • +
  • When comments are on and a field is being written that is the first field in the record and the first char is a comment char, quote the field because it's not a comment.
  • +
  • Fixed issue with type converter options set in factory not working with auto mapping or explicit map.
  • +
  • Fixed line ending spanning buffer issue.
  • +
  • Fixed issue of skipping a character if a line ending was within a quoted field.
  • +
  • Added locking to factory to make it thread safe.
  • +
  • Fixed bug when mapping a constant then mapping another property after will throw an exception.
  • +
  • Changed reflection calls to ConvertToString to get the method for ITypeConverter instead of the actual converter. This is so the overridden implementation will be used instead of a random method with the same name.
  • +
  • Adding locking in ReflectionHelper.CreateInstance for the static delegate cache.
  • +
  • Fixed quote handling issue of IsFieldBad by marking unquoted fields with quote chars as bad only when Configuration.IgnoreQuotes is false.
  • +
  • Fixed issue with automapping not mapping references correctly in some nested situations because it thought it was a circular dependency when it wasn't.
  • +
  • Fixed issue with private properties not being able to be set.
  • +
  • Fixed issue with getting the class map from the collection. It was only getting the current and not looking up the tree.
  • +
  • Fixed issue with Constant not working with null.
  • +
+

Breaking Changes

+
    +
  • Removed all .NET builds except for net45 and netstandard2.0.
  • +
  • Removed obsolete code.
  • +
  • object ICsvReader.GetField( int index, ITypeConverter converter )
  • +
  • object ICsvReader.GetField( string name, ITypeConverter converter )
  • +
  • object ICsvReader.GetField( string name, int index, ITypeConverter converter )
  • +
  • void ICsvWriter.WriteField( Type type, object field )
  • +
  • void ICsvWriter.WriteField( Type type, object field, ITypeConverter converter )
  • +
  • void ICsvWriter.WriteRecord( Type type, object record )
  • +
  • Moved methods that aren't row level out of ICsvReaderRow and into ICsvReader.
  • +
  • IEnumerable<T> GetRecords<T>()
  • +
  • IEnumerable<object> GetRecords( Type type )
  • +
  • void ClearRecordCache<T>()
  • +
  • void ClearRecordCache( Type type )
  • +
  • void ClearRecordCache()
  • +
  • Removed CanConvertTo and CanConvertFrom from the type converters because there is no need for them.
  • +
  • Added properties to CsvHelperException and removed the string data.
  • +
  • Changed WriteRecord to not call NextRecord.
  • +
  • Changed config setting name from IgnorePrivateAccessor to IncludePrivateProperties to be more clear on intention.
  • +
  • Changed reading exception callback to send a CsvHelperException.
  • +
  • Removed configuration IsHeaderCaseSensitive, IgnoreHeaderWhiteSpace, and TrimHeaders and added PrepareHeaderForMatch.
  • +
  • Changed DateTime and DateTimeOffset converters to not work when the string is spaces to match what all the other converters do. The .NET Framework DateTime and DateTimeOffset converters will convert a string of all spaces into MinValue, so we are diverging from that a little.
  • +
  • Changed ReadHeader to not set CurrentRecord to null.
  • +
  • Removed Excel specific code. This will go into a separate library. The malformed fallback behavior that mimics Excel still exists.
  • +
  • Moved reading/writing state data into a common context object that is shared.
  • +
  • Changed BadDataCallback to take in a ReadingContext instead of a string.
  • +
  • Removed Csv prefix from all classes except CsvReader, CsvParser, CsvWriter, and CsvSerializer.
  • +
  • Removed default null values since there is no common standard that could be found.
  • +
  • Removed default boolean values of yes, y, no, n since it's not a standard boolean. true, false, 1, 0 still work.
  • +
  • Changed default delimiter to , instead of ListSeparator.
  • +
  • Added a Flush method to the writer.
  • +
  • Changed Property naming to Member.
  • +
  • Removed Configurations ThrowOnBadData, IgnoreReadingExceptions, SkipEmptyRecords, and WillThrowOnMissingField in favor of function callbacks.
  • +
  • Renamed +
      +
    • TypeConverterFactory to TypeConverterCache
    • +
    • TypeConverterOptionsFactory to TypeConverterOptionsCache
    • +
    • Configuration.HeaderValidatedCallback to Configuration.HeaderValidated
    • +
    • Configuration.MissingFieldFoundCallback to Configuration.MissingFieldFound
    • +
    • Configuration.ReadingExceptionCallback to Configuration.ReadingExceptionOccurred
    • +
    • Configuration.BadDataFoundCallback to Configuration.BadDataFound
    • +
    • ICsvParser to IParser
    • +
    • FieldReader to CsvFieldReader
    • +
    • ICsvReader to IReader
    • +
    • ICsvReaderRow to IReaderRow
    • +
    • ICsvSerializer to ISerializer
    • +
    • ICsvWriter to IWriter
    • +
    • ICsvWriterRow to IWriterRow
    • +
    +
  • +
+

2.16.3

+

Bug Fixes

+
    +
  • Fixed issue with CsvClassMapCollection[type] choosing the wrong type when multiple types on the inheritance tree are mapped.
  • +
+

2.16.2

+

Bug Fixes

+
    +
  • Made TypeInfo compatibility stuff internal to not cause conflicts.
  • +
+

2.16.1

+

Bug Fixes

+
    +
  • Fix for UWP release not working.
  • +
+

2.16

+

Features

+
    +
  • Added CsvReader.ReadHeader so headers can be read without reading the first row.
  • +
+

2.15.0.2

+

Features

+
    +
  • Update to .NET Core 1.0 release.
  • +
+

2.15

+

Features

+
    +
  • Added SerializableAttribute to all exceptions.
  • +
+

2.14.3

+

Features

+
    +
  • Updated project to .NET Core RC2.
  • +
+

Bug Fixes

+
    +
  • Fixed issue with assembly not being a release build.
  • +
+

2.14.2

+

Bug Fixes

+
    +
  • Added net45 build and excluded it from CoreFX compatibility.
  • +
+

2.14.1

+

Bug Fixes

+
    +
  • Fixed issue with .NET 2.0 classes being included that shouldn't have been in .NET 4.0.
  • +
+

2.14

+

Features

+
    +
  • Added CoreCLR support.
  • +
+

2.13.5

+

Bug Fixes

+
    +
  • Fixed ShouldSkipRecord not working on rows before header.
  • +
+

2.13.3

+

Bug Fixes

+
    +
  • Fixed issue where the number of delimiter characters was read when a multiple character delimiter is hit. This was causing non-delimiters to be read when just the first character of the delimiter was found.
  • +
+

2.13.2

+

Bug Fixes

+
    +
  • Fixed issue with TryGetField with named index returning wrong value.
  • +
+

2.13.1

+

Bug Fixes

+
    +
  • Added missing DateTimeConverter to the list of default converters.
  • +
+

2.13

+

Features

+
    +
  • When writing, use empty values for properties on reference properties when flag UseNewObjectForNullReferenceProperties is off.
  • +
+

Bug Fixes

+
    +
  • Fixed portable target for Windows Phone 8.1.
  • +
+

2.12

+

Features

+
    +
  • Added Windows Phone 8.1 support to the PCL assembly.
  • +
  • Added ability to set a prefix for reference maps. i.e. Prefix( string prefix = null)
  • +
  • Added callback to use to determine if a record should be skipped when reading.
  • +
  • Excel leading zeros number formatting. This allows you to read and write numbers that will preserve the zeros on the front. i.e. ="0001"
  • +
  • Use default value when a field is null because of a missing field in the row.
  • +
  • Added TrimFields to CsvWriter.
  • +
  • ability to specify constructor arguments when referencing another map within a mapping.
  • +
  • Added Names property on CsvPropertyNameCollection to get raw list of property names.
  • +
  • Added raw file line number to parser.
  • +
  • Mapping methods on CsvClassMap<T> are now public to more easily allow mapping during runtime.
  • +
  • Added DateTimeOffset converter.
  • +
+

Bug Fixes

+
    +
  • Fixed exception that was occurring when fields were empty and UseExcelLeadingZerosFormatForNumerics = true.
  • +
  • Excel compatibility fix. If a field starts with a quote but never ends and the end of the file is reached, the field would be null. The field will now contain everything.
  • +
  • Don't get static properties when automapping.
  • +
  • Made all exceptions thrown contain Exception.Data["CsvHelper"].
  • +
  • Fixed missing support writing the double quotes for inner quotes on a quoted field. This used to be there and was removed at some point. A unit test is now in place so this doesn't happen again.
  • +
+

2.11.1.1

+

Bug Fixes

+
    +
  • Fixed issue with writing an array of records.
  • +
+

2.11

+

Features

+
    +
  • Allow preservation of numeric strings for Excel.
  • +
+

Bug Fixes

+
    +
  • Fixed writing issue with anonymous objects outputting wrong headers.
  • +
+

2.10

+

Features

+
    +
  • Updated writer methods to match reader methods.
  • +
+

2.9.1

+

Bug Fixes

+
    +
  • Fixed issue where char converter would trim a single space string.
  • +
+

2.9

+

Features

+
    +
  • Added support to ignore whitespace when determining a record is empty.
  • +
+

2.8.4

+

Bug Fixes

+
    +
  • Fixed breaking change to not break.
  • +
+

2.8.3

+

Bug Fixes

+
    +
  • Fixed issue where header wasn't written when there were no records in the IEnumerable on WriteRecords( IEnumerable ).
  • +
+

2.8.2

+

Bug Fixes

+
    +
  • Fixed issue where an exception was always thrown if Configuration.ThrowOnBadData is on.
  • +
+

2.8

+

Features

+
    +
  • Added configurations for a callback when a bad field is detected. Added configuration to throw an exception when a bad field is detected.
  • +
  • Made mapping with interfaces not duplicate property maps.
  • +
+

2.7.1

+

Bug Fixes

+
    +
  • Fixed issue with mappings overwriting an explicitly set index when re-indexing.
  • +
  • Auto mapping will ignore Enumerable properties instead of throwing an exception. Exceptions will still be thrown if an Enumerable is used outside of auto mapping.
  • +
+

2.7

+

Bug Fixes

+
    +
  • Fixed issue where using dynamic proxy objects would always automap instead of using a registered class map.
  • +
  • Fixed issue when trimming fields and the field is null.
  • +
  • Fixed issue when writing a field and the value is null.
  • +
  • Removed deprecated writer methods.
  • +
+

2.6.1

+

Features

+
    +
  • PCL implementation. .NET 4.0+, Silveright 4.0+, WP7 7.5+, Windows 8
  • +
  • Excel separator record reading and writing.
  • +
  • Writer speed enhancements. Thanks to thecontrarycat.
  • +
+

Bug Fixes

+
    +
  • Fixed issue with mapping order when no index is specified.
  • +
+

2.6

+

Features

+
    +
  • Added config to prefix headers of reference properties with the parent property name when automapping.
  • +
  • Ability to ignore blank lines. When this config option is set to false, the parser will return and array of nulls. You can differentiate between a row with commas this way. The reader will behave the same way as a blank record.
  • +
+

Bug Fixes

+
    +
  • Fixed issue when writing and a reference map type is a struct.
  • +
+

2.5

+

Features

+
    +
  • Global type converter options.
  • +
  • Easier access to property maps to allow for changing maps on the fly.
  • +
  • Option to ignore references when auto mapping.
  • +
  • AutoMap functionality is available in class maps.
  • +
  • Mappings can be specified in the constructor of the mapping class. Overriding CreateMap is now deprecated.
  • +
+

Bug Fixes

+
    +
  • Updated ConvertUsing to not cause the exception "Operation Could Destabilize the Runtime" when property is a nullable type and a non-nullable type is returned.
  • +
+

2.4.1

+

Bug Fixes

+
    +
  • Fixed issue where parsing would add delimiter chars to the field when the buffer ran out in the middle of the delimiter.
  • +
+

2.4

+

Features

+
    +
  • Split writing up into a writer and serializer so the writer can write other things besides CSV files.
  • +
+

Bug Fixes

+
    +
  • Fixed issue where a NullReferenceException was thrown when using reference maps and a reference was null.
  • +
  • Fixed issue where TryGetField was throwing MissingFieldException.
  • +
  • Fixed issue where a commented row on the last line that doesn't have a newline will return the commented row.
  • +
  • Fixed NuGet package for WP8.
  • +
  • Added missing WriteHeader methods to ICsvWriter that were a part of CsvWriter.
  • +
+

2.3

+

Features

+
    +
  • Support for TimeSpan.
  • +
  • Support for writing records of type dynamic. The dynamic objects do not work with collections, which means ExpandoObject doesn't currently work.
  • +
+

Bug Fixes

+
    +
  • Fixed issue with extra exception info not being added when the reading exception callback is used.
  • +
  • Fixed issue where having only reference maps throws exception.
  • +
+

2.2.2

+

Bug Fixes

+
    +
  • Fixed issue with parser where a line wouldn't end if the previous char was a \0.
  • +
+

2.2.1

+

Bug Fixes

+
    +
  • Fixed issue with trimming fields not working under one path. +2.2.0
  • +
+

Features

+
    +
  • Added Row property to ICsvReader.
  • +
  • Config option to trim headers and values when reading.
  • +
+

2.1.1

+

Bug Fixes

+
    +
  • Fixed issue when WillThrowOnMissingField is off and exception was still being thrown.
  • +
+

2.1.0

+

Features

+
    +
  • Made RegisterClassMap overload with CsvClassMap instance public.
  • +
+

2.0.1

+

Bug Fixes

+
    +
  • Made a WinRT Any CPU build and removed the arch specific WinRT builds.
  • +
+

2.0.0

+

Features

+