Table of Contents

Class CsvConverter<T>

Namespace
FlameCsv
Assembly
FlameCsv.Core.dll

Base class used for registering custom converters.
Implement a converter by inheriting either CsvConverter<T, TValue> or CsvConverterFactory<T>

public abstract class CsvConverter<T> where T : unmanaged, IBinaryInteger<T>

Type Parameters

T

Token type

Inheritance
CsvConverter<T>
Derived
CsvConverter<T, TValue>

Remarks

Converter instances must be safe to use concurrently.

Methods

CanConvert(Type)

Returns whether the type can be handled by this converter, or a suitable converter can be created from this factory instance.

public abstract bool CanConvert(Type type)

Parameters

type Type

Type to check

Returns

bool

true if the converter is suitable for type