Creates a type converter for the given type and assigns it to the given out typeConverter parameter.
- Namespace
- CsvHelper
.TypeConversion - Containing Type
- Collection
Converter Factory - Implements
Syntax
public 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. |