Gets the delegate to write the given record.
If the delegate doesn't exist, one will be created and cached.
- Namespace
- CsvHelper
.Expressions - Containing Type
- RecordWriter
Syntax
public virtual Action<T> GetWriteDelegate<T>(RecordTypeInfo typeInfo)
Type Parameters
Name | Description |
---|---|
T | The record type. |
Parameters
Name | Type | Description |
---|---|---|
typeInfo | RecordTypeInfo | The type for the record. |
Return Value
Type | Description |
---|---|
Action |