Interface ICsvConverterFactory<T>
- Namespace
- FlameCsv
- Assembly
- FlameCsv.Core.dll
Factory interface for creating CsvConverter<T> instances.
public interface ICsvConverterFactory<T> where T : unmanaged, IBinaryInteger<T>
Type Parameters
T
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 static abstract bool CanConvert(Type type)
Parameters
typeTypeType to check
Returns
- bool
trueif the converter is suitable fortype
CreateConverter(CsvOptions<T>)
Creates the converter using the specified options.
public static abstract CsvConverter<T> CreateConverter(CsvOptions<T> options)
Parameters
optionsCsvOptions<T>
Returns
- CsvConverter<T>