Manages expression creation.
- Namespace
- CsvHelper
.Expressions - Base Types
-
- object
graph BT
Type-->Base0["object"]
Type["ExpressionManager"]
class Type type-node
Syntax
public class ExpressionManager
Constructors
Name | Summary |
---|---|
ExpressionManager |
Initializes a new instance using the given reader. |
ExpressionManager |
Initializes a new instance using the given writer. |
Methods
Name | Return Value | Summary |
---|---|---|
Create |
void |
Creates the constructor arguments used to create a type.
|
Create |
Expression |
Creates a default expression if field expression is empty.
|
Create |
Expression |
Creates a default expression if field expression is empty.
|
Create |
Expression? |
Creates an expression the represents getting the field for the given
member and converting it to the member's type.
|
Create |
Expression? |
Creates a member expression for the given member on the record.
This will recursively traverse the mapping to find the member
and create a safe member accessor for each level as it goes.
|
Create |
BlockExpression |
Creates an instance of the given type using
IObjectResolver , then assigns
the given member assignments to that instance.
|
Create |
void |
Creates the member assignments for the given
ClassMap .
|
Create |
Expression |
Creates an expression that converts the field expression using a type converter.
|
Create |
Expression |
Creates an expression that converts the field expression using a type converter.
|