Table of Contents

Class WriteAllText

Namespace
Bonsai.IO
Assembly
Bonsai.System.dll

Represents an operator that opens a text file, writes the source string to the file, and then closes the file.

public class WriteAllText : Sink<string>
Inheritance
WriteAllText
Inherited Members

Properties

Append

Gets or sets a value indicating whether text should be appended to the output file if it already exists.

Overwrite

Gets or sets a value indicating whether the output file should be overwritten if it already exists.

Path

Gets or sets the relative or absolute path of the file to open for writing.

Methods

Process(IObservable<string>)

Creates a new file, writes the string in the observable sequence to the file, and then closes the file.