Class FileSink
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.
protected FileSink()
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.
public bool Buffered { get; set; }
Property Value
FileName
Gets or sets the name of the file on which to write the elements.
public string FileName { get; set; }
Property Value
Overwrite
Gets or sets a value indicating whether to overwrite the output file if it already exists.
public bool Overwrite { get; set; }
Property Value
Suffix
Gets or sets the suffix used to generate file names.
public PathSuffix Suffix { get; set; }