Base implementation for classes that create records.
- Namespace
- CsvHelper
.Expressions - Base Types
-
- object
- Derived Types
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 |
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 |
---|---|---|
Create |
Delegate |
Creates a
Delegate of type Func<T>
that will create a record of the given type using the current
reader row.
|
Get |
Func |
Gets the delegate to create a record for the given record type.
If the delegate doesn't exist, one will be created and cached.
|