Table of Contents

Class StreamSink

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 named stream.

[Combinator]
[WorkflowElementCategory(ElementCategory.Sink)]
public abstract class StreamSink
Inheritance
StreamSink
Derived
Inherited Members

Properties

Overwrite

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

public bool Overwrite { get; set; }

Property Value

bool

Path

Gets or sets the identifier of the stream on which to write the elements.

public string Path { get; set; }

Property Value

string

Remarks

If the identifier uses the named pipe prefix \.\pipe</code>, a corresponding NamedPipeServerStream object is created; otherwise a regular FileStream is used.

Suffix

Gets or sets the suffix that should be applied to the path before creating the writer.

public PathSuffix Suffix { get; set; }

Property Value

PathSuffix