C# Class Microsoft.Legal.MatterCenter.UpdateTaxonomyFields.ConsoleCopy.DoubleWriter

This is a simple class which subclasses TextWriter to allow redirection of the input to both a file and the console.
Inheritance: System.IO.TextWriter
Mostrar archivo Open project: Microsoft/mattercenter

Public Methods

Method Description
DoubleWriter ( TextWriter console_writer, TextWriter file_writer ) : System

Initializes a new instance of the DoubleWriter class.

Flush ( ) : void

Overriding the Flush method

Write ( char value ) : void

Overriding the Write method

Method Details

DoubleWriter() public method

Initializes a new instance of the DoubleWriter class.
public DoubleWriter ( TextWriter console_writer, TextWriter file_writer ) : System
console_writer System.IO.TextWriter Console writer object that can write series of characters
file_writer System.IO.TextWriter File writer object that can write series of characters
return System

Flush() public method

Overriding the Flush method
public Flush ( ) : void
return void

Write() public method

Overriding the Write method
public Write ( char value ) : void
value char char value
return void