DynamicRecordWriter Class
Write dynamic records.
Namespace
CsvHelper.Expressions
Base Types
graph BT Type-->Base0["RecordWriter"] click Base0 "/CsvHelper/api/CsvHelper.Expressions/RecordWriter" Base0-->Base1["object"] Type["DynamicRecordWriter"] class Type type-node

Syntax

public class DynamicRecordWriter : RecordWriter

Constructors

Name Summary
DynamicRecordWriter(CsvWriter) Initializes a new instance using the given writer.

Properties

Name Property Type Summary
ExpressionManager ExpressionManager
The expression manager.
Inherited from RecordWriter
Writer CsvWriter
Gets the writer.
Inherited from RecordWriter

Methods

Name Return Value Summary
CombineDelegates<T>(IEnumerable<Action<T>>) Action<T>?
Combines the delegates into a single multicast delegate. This is needed because Silverlight doesn't have the Delegate.Combine( params Delegate[] ) overload.
Inherited from RecordWriter
CreateWriteDelegate<T>(T) Action<T>
Creates a Delegate of type Action<T> that will write the given record using the current writer row.
Inherited from RecordWriter
CreateWriteDelegate<T>(Type) Action<T>
Creates a Delegate of type Action<T> that will write the given record using the current writer row.
GetWriteDelegate<T>(RecordTypeInfo) Action<T>
Gets the delegate to write the given record. If the delegate doesn't exist, one will be created and cached.
Inherited from RecordWriter