Table of Contents

Namespace CsvHelper.TypeConversion

Classes

ArrayConverter

Converts an Array to and from a string.

BigIntegerConverter

Converts a BigInteger to and from a string.

BooleanConverter

Converts a bool to and from a string.

ByteArrayConverter

Converts a Byte[] to and from a string.

ByteConverter

Converts a byte to and from a string.

CharConverter

Converts a char to and from a string.

CollectionConverterFactory
CollectionGenericConverter

Converts a Collection<T> to and from a string.

DateOnlyConverter

Converts a DateOnly to and from a string.

DateTimeConverter

Converts a DateTime to and from a string.

DateTimeOffsetConverter

Converts a DateTimeOffset to and from a string.

DecimalConverter

Converts a decimal to and from a string.

DefaultTypeConverter

Converts an object to and from a string.

DoubleConverter

Converts a double to and from a string.

EnumConverter

Converts an Enum to and from a string.

EnumConverterFactory
EnumerableConverter

Throws an exception when used. This is here so that it's apparent that there is no support for IEnumerable type conversion. A custom converter will need to be created to have a field convert to and from an IEnumerable.

GuidConverter

Converts a Guid to and from a string.

IDictionaryConverter

Converts an IDictionary to and from a string.

IDictionaryGenericConverter

Converts an IDictionary<TKey, TValue> to and from a string.

IEnumerableConverter

Converts an IEnumerable to and from a string.

IEnumerableGenericConverter

Converts an IEnumerable<T> to and from a string.

Int16Converter

Converts a short to and from a string.

Int32Converter

Converts an int to and from a string.

Int64Converter

Converts an long to and from a string.

NotSupportedTypeConverter<T>

Throws an exception when used. This is here so that it's apparent that there is no support for Type type conversion. A custom converter will need to be created to have a field convert to and from Type.

NullableConverter

Converts a Nullable<T> to and from a string.

NullableConverterFactory
SByteConverter

Converts a sbyte to and from a string.

SingleConverter

Converts a float to and from a string.

StringConverter

Converts a string to and from a string.

TimeOnlyConverter

Converts a TimeOnly to and from a string.

TimeSpanConverter

Converts a TimeSpan to and from a string.

TypeConverterCache

Caches ITypeConverters for a given type.

TypeConverterException

Represents errors that occur while reading a CSV file.

TypeConverterOptions

Options used when doing type conversion.

TypeConverterOptionsCache

Caches TypeConverterOptions for a given type.

TypeConverter<T>

Converts values to and from strings.

UInt16Converter

Converts a ushort to and from a string.

UInt32Converter

Converts a uint to and from a string.

UInt64Converter

Converts a ulong to and from a string.

UriConverter

Converts a System.Uri to and from a string.

Interfaces

ITypeConverter

Converts objects to and from strings.

ITypeConverterFactory

Produces ITypeConverter for the specified Type

Enums

ByteArrayConverterOptions

Options for converting byte arrays.