ITypeConverterT Interface

Interface for classes that provide conversions between CSV data and .NET data types.

Definition

Namespace: FolkerKinzel.CsvTools.Mappings.TypeConverters.Interfaces
Assembly: FolkerKinzel.CsvTools.Mappings (in FolkerKinzel.CsvTools.Mappings.dll) Version: 1.1.0+1263e8243dc2cd78095f678f813d7d9c52ea4315
C#
public interface ITypeConverter<T>

Type Parameters

T
The .NET data type the converter can convert.

Properties

AcceptsNull Gets a value indicating whether the converter accepts null references as input.
DataType The data type the converter converts.
DefaultValue Gets the value to return if the parser finds no data in the CSV, or if parsing fails and the Throwing property is false.
Throwing Gets a value indicating whether the converter throws a FormatException when a parsing error occurs, or if it returns DefaultValue value instead.

See Also