Creates primitive records.
- Namespace
- CsvHelper
.Expressions - Base Types
-
- object
- RecordCreator
graph BT
Type-->Base0["RecordCreator"]
click Base0 "/CsvHelper/api/CsvHelper.Expressions/RecordCreator"
Base0-->Base1["object"]
Type["PrimitiveRecordCreator"]
class Type type-node
Syntax
public class PrimitiveRecordCreator : RecordCreator
Constructors
| Name | Summary |
|---|---|
| Primitive |
Initializes a new instance using the given reader. |
Properties
| Name | Property Type | Summary |
|---|---|---|
| ExpressionManager | ExpressionManager |
The expression manager.
Inherited from RecordCreator
|
| Reader | CsvReader |
The reader.
Inherited from RecordCreator
|
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.
Inherited from RecordCreator
|