Table of Contents

Class FileSink

Namespace
Bonsai.IO
Assembly
Bonsai.System.dll

Provides a non-generic base class for sinks that write all elements from the source sequence to a file.

[Combinator]
[WorkflowElementCategory(ElementCategory.Sink)]
public abstract class FileSink
Inheritance
FileSink
Derived
FileSink<TSource, TWriter>
Inherited Members

Constructors

FileSink()

Initializes a new instance of the FileSink<TSource, TWriter> class.

Properties

Buffered

Gets or sets a value indicating whether element writing should be buffered. If true, the write commands will be queued in memory as fast as possible and will be processed by the writer in a different thread. Otherwise, writing will be done in the same thread in which notifications arrive.

FileName

Gets or sets the name of the file on which to write the elements.

Overwrite

Gets or sets a value indicating whether to overwrite the output file if it already exists.

Suffix

Gets or sets the suffix used to generate file names.