OutputFileTerminal

OutputFileTerminal class

Implements a terminal whose output is to be written to a file in some working directory.

public class OutputFileTerminal : IFileTerminal, IOutputTerminal

Constructors

Name Description
OutputFileTerminal(IOutputWorkingDirectory) Creates new instance.

Properties

Name Description
FileName { get; set; } Gets/sets the file name.
Writer { get; } Gets the writer for the output terminal.

Methods

Name Description
WriteFile() Finalizes the log, e.g., writes it to file.

See Also