C# Класс FlatFiles.SeparatedValueWriter

Builds textual representations of data by separating fields with a delimiter.
Наследование: IWriter
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
IWriter ( ) : ISchema
SeparatedValueWriter ( TextWriter writer, FlatFiles.SeparatedValueSchema schema, FlatFiles.SeparatedValueOptions options, bool hasSchema ) : System

Описание методов

GetSchema() публичный Метод

Gets the schema used to build the output.
public GetSchema ( ) : FlatFiles.SeparatedValueSchema
Результат FlatFiles.SeparatedValueSchema

SeparatedValueWriter() публичный Метод

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.
Результат System

SeparatedValueWriter() публичный Метод

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.
Результат System

Write() публичный Метод

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.
Результат void