Table of Contents

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 string

The string to convert to an object.

row IReaderRow

The IReaderRow for the current record.

memberMapData MemberMapData

The MemberMapData for the member being created.

Returns

object

The object created from the string.