When using the CsvHelper serializer, the configuration is used when serializing, but not when deserializing.
Changing the second argument to the constructor to _configuration fixes the problem.
|
using var csvReader = new CsvReader(stringReader, CultureInfo.CurrentCulture); |