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
Afficher le fichier Open project: webappsuk/CoreLibraries Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public ResetBackgroundColor ( ) : void
Résultat void

ResetColors() public méthode

public ResetColors ( ) : void
Résultat void

ResetForegroundColor() public méthode

public ResetForegroundColor ( ) : void
Résultat void

SetBackgroundColor() public méthode

public SetBackgroundColor ( Color color ) : void
color System.Drawing.Color
Résultat void

SetForegroundColor() public méthode

public SetForegroundColor ( Color color ) : void
color System.Drawing.Color
Résultat void

TestColoredTextWriter() public méthode

public TestColoredTextWriter ( bool writeToTrace = false ) : System.Diagnostics
writeToTrace bool
Résultat System.Diagnostics

ToString() public méthode

public ToString ( ) : string
Résultat string

Write() public méthode

public Write ( char value ) : void
value char
Résultat void