C# Class WebApplications.Utilities.Test.Formatting.TestColoredTextWriter

Colored text writer that appends special tags to the output when the color is changed.
Inheritance: System.IO.TextWriter, IColoredTextWriter
Mostrar archivo Open project: webappsuk/CoreLibraries Class Usage Examples

Public Methods

Method Description
ResetBackgroundColor ( ) : void
ResetColors ( ) : void
ResetForegroundColor ( ) : void
SetBackgroundColor ( Color color ) : void
SetForegroundColor ( Color color ) : void
TestColoredTextWriter ( bool writeToTrace = false ) : System.Diagnostics
ToString ( ) : string
Write ( char value ) : void

Method Details

ResetBackgroundColor() public method

public ResetBackgroundColor ( ) : void
return void

ResetColors() public method

public ResetColors ( ) : void
return void

ResetForegroundColor() public method

public ResetForegroundColor ( ) : void
return void

SetBackgroundColor() public method

public SetBackgroundColor ( Color color ) : void
color System.Drawing.Color
return void

SetForegroundColor() public method

public SetForegroundColor ( Color color ) : void
color System.Drawing.Color
return void

TestColoredTextWriter() public method

public TestColoredTextWriter ( bool writeToTrace = false ) : System.Diagnostics
writeToTrace bool
return System.Diagnostics

ToString() public method

public ToString ( ) : string
return string

Write() public method

public Write ( char value ) : void
value char
return void