RecordCreator Class
Base implementation for classes that create records.
graph BT Type-->Base0["object"] Type["RecordCreator"] class Type type-node Derived0["PrimitiveRecordCreator"]-->Type click Derived0 "/CsvHelper/api/CsvHelper.Expressions/PrimitiveRecordCreator" Derived1["DynamicRecordCreator"]-->Type click Derived1 "/CsvHelper/api/CsvHelper.Expressions/DynamicRecordCreator" Derived2["ObjectRecordCreator"]-->Type click Derived2 "/CsvHelper/api/CsvHelper.Expressions/ObjectRecordCreator"

Syntax

public abstract class RecordCreator

Constructors

Name Summary
RecordCreator(CsvReader) Initializes a new instance using the given reader.

Properties

Name Property Type Summary
ExpressionManager ExpressionManager
The expression manager.
Reader CsvReader
The reader.

Methods

Name Return Value Summary
CreateCreateRecordDelegate(Type) Delegate
Creates a Delegate of type Func<T> that will create a record of the given type using the current reader row.
GetCreateRecordDelegate<T>(Type) Func<T>
Gets the delegate to create a record for the given record type. If the delegate doesn't exist, one will be created and cached.