IGLib  1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
NUnit.Common.ExtendedTextWriter Class Referenceabstract

ExtendedTextWriter extends the TextWriter abstract class to support displaying text in color. $ More...

+ Inheritance diagram for NUnit.Common.ExtendedTextWriter:
+ Collaboration diagram for NUnit.Common.ExtendedTextWriter:

Public Member Functions

abstract void Write (ColorStyle style, string value)
 Writes the value with the specified style. More...
 
abstract void WriteLine (ColorStyle style, string value)
 Writes the value with the specified style More...
 
abstract void WriteLabel (string label, object option)
 Writes the label and the option that goes with it. More...
 
abstract void WriteLabel (string label, object option, ColorStyle valueStyle)
 Writes the label and the option that goes with it. More...
 
abstract void WriteLabelLine (string label, object option)
 Writes the label and the option that goes with it followed by a new line. More...
 
abstract void WriteLabelLine (string label, object option, ColorStyle valueStyle)
 Writes the label and the option that goes with it followed by a new line. More...
 

Detailed Description

ExtendedTextWriter extends the TextWriter abstract class to support displaying text in color. $

Member Function Documentation

abstract void NUnit.Common.ExtendedTextWriter.Write ( ColorStyle  style,
string  value 
)
pure virtual

Writes the value with the specified style.

Parameters
styleThe style.
valueThe value.

Implemented in NUnit.Common.ExtendedTextWrapper, and NUnit.Common.ColorConsoleWriter.

Referenced by NUnitLite.TextUI.DisplayHelp(), and NUnitLite.TextUI.TestFinished().

abstract void NUnit.Common.ExtendedTextWriter.WriteLabel ( string  label,
object  option 
)
pure virtual

Writes the label and the option that goes with it.

Parameters
labelThe label.
optionThe option.

Implemented in NUnit.Common.ExtendedTextWrapper, and NUnit.Common.ColorConsoleWriter.

Referenced by NUnitLite.TextUI.WriteLabel(), NUnit.ConsoleRunner.ResultReporter.WriteSummaryCount(), and NUnitLite.TextUI.WriteSummaryCount().

abstract void NUnit.Common.ExtendedTextWriter.WriteLabel ( string  label,
object  option,
ColorStyle  valueStyle 
)
pure virtual

Writes the label and the option that goes with it.

Parameters
labelThe label.
optionThe option.
valueStyleThe color to display the value with

Implemented in NUnit.Common.ExtendedTextWrapper, and NUnit.Common.ColorConsoleWriter.

abstract void NUnit.Common.ExtendedTextWriter.WriteLabelLine ( string  label,
object  option 
)
pure virtual
abstract void NUnit.Common.ExtendedTextWriter.WriteLabelLine ( string  label,
object  option,
ColorStyle  valueStyle 
)
pure virtual

Writes the label and the option that goes with it followed by a new line.

Parameters
labelThe label.
optionThe option.
valueStyleThe color to display the value with

Implemented in NUnit.Common.ExtendedTextWrapper, and NUnit.Common.ColorConsoleWriter.


The documentation for this class was generated from the following file: