Writes highlighted text.
Namespace:
Gallio.FrameworkAssembly: Gallio (in Gallio.dll) Version: 3.3.0.0 (3.3.610.0)
Syntax
| C# |
|---|
public static void WriteHighlighted( string text ) |
| Visual Basic (Declaration) |
|---|
Public Shared Sub WriteHighlighted ( _ text As String _ ) |
Parameters
- text
- Type: System..::.String
The text to write, or null if none.
Remarks
Highlights can be used to emphasize important information such differences between similar expected and actual values.
This is a convenience method that forwards the request to the current default log stream writer as returned by the Default property.
This is a convenience method that simply encapsulates the highlighted text within a marker region of type Highlight.
