Table of Contents

Namespace Bonsai.IO

Classes

ChangeExtension

Represents an operator that changes the extension of each path string in the sequence.

CsvReader

Represents an operator that generates a sequence of values for every line in a text file.

CsvWriter

Represents an operator that writes a delimited text representation of each element of the sequence to a text file.

EnumerateDirectories

Represents an operator that generates a sequence of directory names matching the specified search pattern.

EnumerateFileSystemEntries

Represents an operator that generates a sequence of file names and directory names matching the specified search pattern.

EnumerateFiles

Represents an operator that generates a sequence of file names matching the specified search pattern.

FileSink

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

FileSink<TSource, TWriter>

Provides a base class for sinks that write the elements from the input sequence into a file.

GetDirectories

Represents an operator that generates a sequence containing an array with the names of the subdirectories matching the specified search pattern.

GetDirectoryName

Represents an operator that returns the directory information for each path string in the sequence.

GetEnvironmentVariable

Represents an operator that gets the value of an environment variable for the current process.

GetExtension

Represents an operator that returns the extension of each path string in the sequence.

GetFileName

Represents an operator that returns the file name and extension of each path string in the sequence.

GetFileNameWithoutExtension

Represents an operator that returns the file name without the extension for each path string in the sequence.

GetFileSystemEntries

Represents an operator that generates a sequence containing an array with the names of the files and directories matching the specified search pattern.

GetFiles

Represents an operator that generates a sequence containing an array with the names of the files matching the specified search pattern.

GetFullPath

Represents an operator that returns the absolute path for each path string in the sequence.

GetPathRoot

Represents an operator that returns the root directory information of each path string in the sequence.

PathHelper

Provides a set of static methods for creating and manipulating directory and file names.

ReadAllText

Represents an operator that opens a text file, returns a single string with all lines in the file, and then closes the file.

ReadLine

Represents an operator that reads lines of characters asynchronously from the input stream.

StartProcess

Represents an operator that starts a new system process with the specified file name and command-line arguments.

StreamSink

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

StreamSink<TSource, TWriter>

Provides a base class for sinks that write the elements from the input sequence into a named stream (e.g. a named pipe).

WriteAllText

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

WriteLine

Represents an operator that writes the text representation of each element of the sequence to the output stream, followed by the current line terminator.

Enums

PathSuffix

Specifies the known path suffixes that can be appended to a path.