Creates a type converter for the given type and assigns it to the given out typeConverter parameter.
- Namespace
- CsvHelper
.TypeConversion - Containing Type
- I
Type Converter Factory
Syntax
bool Create(Type type, TypeConverterCache cache, out ITypeConverter typeConverter)
Parameters
Name | Type | Description |
---|---|---|
type | Type | The type to create the converter for. |
cache | TypeConverterCache | The type converter cache. |
typeConverter | ITypeConverter | The parameter to set the converter to. |
Return Value
Type | Description |
---|---|
bool | true if the converter should be added to the cache, otherwise false . |