TypeConverterOptions Class
Options used when doing type conversion.
Namespace
CsvHelper.TypeConversion
Base Types
  • object
graph BT Type-->Base0["object"] Type["TypeConverterOptions"] class Type type-node

Syntax

public class TypeConverterOptions

Properties

Name Property Type Summary
BooleanFalseValues List<string>
Gets the list of values that can be used to represent a boolean of false.
BooleanTrueValues List<string>
Gets the list of values that can be used to represent a boolean of true.
CultureInfo CultureInfo
Gets or sets the culture info.
DateTimeStyle DateTimeStyles?
Gets or sets the date time style.
EnumIgnoreCase bool?
Ingore case when parsing enums. Default is false.
Formats string[]
Gets or sets the string format.
NullValues List<string>
Gets the list of values that can be used to represent a null value.
NumberStyles NumberStyles?
Gets or sets the number style.
TimeSpanStyle TimeSpanStyles?
Gets or sets the time span style.
UriKind UriKind?
Gets or sets the UriKind.

Methods

Name Return Value Summary
Merge(TypeConverterOptions[]) TypeConverterOptions
Merges TypeConverterOptions by applying the values of sources in order on to each other. The first object is the source object.
static