Gets the delegate to create a record for the given record type.
If the delegate doesn't exist, one will be created and cached.
- Namespace
- CsvHelper
.Expressions - Containing Type
- RecordCreator
Syntax
public virtual Func<T> GetCreateRecordDelegate<T>(Type recordType)
Type Parameters
| Name | Description |
|---|---|
| T |
Parameters
| Name | Type | Description |
|---|---|---|
| recordType | Type | The record type. |
Return Value
| Type | Description |
|---|---|
| Func |