Table of Contents

Class CharConverter

Namespace
CsvHelper.TypeConversion
Assembly
CsvHelper.dll

Converts a char to and from a string.

public class CharConverter : DefaultTypeConverter, ITypeConverter
Inheritance
CharConverter
Implements
Inherited Members

Constructors

CharConverter()

public CharConverter()

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.