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
text
stringThe string to convert to an object.
row
IReaderRowThe IReaderRow for the current record.
memberMapData
MemberMapDataThe MemberMapData for the member being created.
Returns
- object
The object created from the string.