Base implementation for classes that write records.
- Namespace
- CsvHelper
.Expressions - Base Types
-
- object
- Derived Types
graph BT
Type-->Base0["object"]
Type["RecordWriter"]
class Type type-node
Derived0["ExpandoObjectRecordWriter"]-->Type
click Derived0 "/CsvHelper/api/CsvHelper.Expressions/ExpandoObjectRecordWriter"
Derived1["DynamicRecordWriter"]-->Type
click Derived1 "/CsvHelper/api/CsvHelper.Expressions/DynamicRecordWriter"
Derived2["ObjectRecordWriter"]-->Type
click Derived2 "/CsvHelper/api/CsvHelper.Expressions/ObjectRecordWriter"
Derived3["PrimitiveRecordWriter"]-->Type
click Derived3 "/CsvHelper/api/CsvHelper.Expressions/PrimitiveRecordWriter"
Syntax
public abstract class RecordWriter
Constructors
| Name | Summary |
|---|---|
| RecordWriter |
Initializes a new instance using the given writer. |
Properties
| Name | Property Type | Summary |
|---|---|---|
| ExpressionManager | ExpressionManager |
The expression manager.
|
| Writer | CsvWriter |
Gets the writer.
|
Methods
| Name | Return Value | Summary |
|---|---|---|
| CombineDelegates |
Action |
Combines the delegates into a single multicast delegate.
This is needed because Silverlight doesn't have the
Delegate.Combine( params Delegate[] ) overload.
|
| CreateWriteDelegate |
Action |
Creates a
Delegate of type Action<T>
that will write the given record using the current writer row.
|
| CreateWriteDelegate |
Action |
Creates a
Delegate of type Action<T>
that will write the given record using the current writer row.
|
| GetWriteDelegate |
Action |
Gets the delegate to write the given record.
If the delegate doesn't exist, one will be created and cached.
|