Class IDictionaryGenericConverter
- Namespace
- CsvHelper.TypeConversion
- Assembly
- CsvHelper.dll
Converts an IDictionary<TKey, TValue> to and from a string.
public class IDictionaryGenericConverter : IDictionaryConverter, ITypeConverter
- Inheritance
-
IDictionaryGenericConverter
- Implements
- Inherited Members
Constructors
IDictionaryGenericConverter()
public IDictionaryGenericConverter()
Methods
ConvertFromString(string?, IReaderRow, MemberMapData)
Converts the string to an object.
public override object? ConvertFromString(string? text, IReaderRow row, MemberMapData memberMapData)
Parameters
textstringThe string to convert to an object.
rowIReaderRowThe IReaderRow for the current record.
memberMapDataMemberMapDataThe MemberMapData for the member being created.
Returns
- object
The object created from the string.