C# Class FlatFiles.SeparatedValueWriter

Builds textual representations of data by separating fields with a delimiter.
Inheritance: IWriter
Afficher le fichier Open project: jehugaleahsa/FlatFiles

Méthodes publiques

Méthode Description
GetSchema ( ) : FlatFiles.SeparatedValueSchema

Gets the schema used to build the output.

SeparatedValueWriter ( TextWriter writer, FlatFiles.SeparatedValueOptions options = null ) : System

Initializes a new SeparatedValueWriter without a schema.

SeparatedValueWriter ( TextWriter writer, FlatFiles.SeparatedValueSchema schema, FlatFiles.SeparatedValueOptions options = null ) : System

Initializes a new SeparatedValueWriter with the given schema.

Write ( object values ) : void

Writes the textual representation of the given values to the writer.

Private Methods

Méthode Description
IWriter ( ) : ISchema
SeparatedValueWriter ( TextWriter writer, FlatFiles.SeparatedValueSchema schema, FlatFiles.SeparatedValueOptions options, bool hasSchema ) : System

Method Details

GetSchema() public méthode

Gets the schema used to build the output.
public GetSchema ( ) : FlatFiles.SeparatedValueSchema
Résultat FlatFiles.SeparatedValueSchema

SeparatedValueWriter() public méthode

Initializes a new SeparatedValueWriter without a schema.
The writer is null.
public SeparatedValueWriter ( TextWriter writer, FlatFiles.SeparatedValueOptions options = null ) : System
writer System.IO.TextWriter A writer over the separated value document.
options FlatFiles.SeparatedValueOptions The options used to format the output.
Résultat System

SeparatedValueWriter() public méthode

Initializes a new SeparatedValueWriter with the given schema.
The writer is null. The schema is null.
public SeparatedValueWriter ( TextWriter writer, FlatFiles.SeparatedValueSchema schema, FlatFiles.SeparatedValueOptions options = null ) : System
writer System.IO.TextWriter A writer over the separated value document.
schema FlatFiles.SeparatedValueSchema The schema of the separated value document.
options FlatFiles.SeparatedValueOptions The options used to format the output.
Résultat System

Write() public méthode

Writes the textual representation of the given values to the writer.
The values array is null.
public Write ( object values ) : void
values object The values to write.
Résultat void