CsvWriterTSource Class

Writes data of any type as CSV (RFC 4180).

Definition

Namespace: FolkerKinzel.CsvTools.Mappings
Assembly: FolkerKinzel.CsvTools.Mappings (in FolkerKinzel.CsvTools.Mappings.dll) Version: 1.1.0+1263e8243dc2cd78095f678f813d7d9c52ea4315
C#
public sealed class CsvWriter<TSource> : IDisposable
Inheritance
Object    CsvWriterTSource
Implements
IDisposable

Type Parameters

TSource
Generic type parameter for the data type that the CsvWriterTSource can write as a CSV row.

Constructors

CsvWriterTSource(CsvWriter, CsvFromTSource) Initializes a new CsvWriterTSource instance.
CsvWriterTSource(CsvWriter, CsvMapping, ActionTSource, Object) Initializes a new CsvWriterTSource instance.

Properties

Delimiter Gets the field separator character.

Methods

DisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)
Write Writes data as a new CSV row.

See Also