PostSharp6.1/API Reference/Post­Sharp.​Patterns.​Diagnostics.​Backends.​Console Namespace/Console­Log­Record­Builder Class/Console­Log­Record­Builder Methods/Console­Log­Record­Builder.​Begin­Themed­Text Method

ConsoleLogRecordBuilder.BeginThemedText Method

Sets the theme item for the next characters appended to the StringBuilder.

Namespace:  PostSharp.Patterns.Diagnostics.Backends.Console
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.1.23.0 (6.1.23.0)
Syntax
C#
protected void BeginThemedText(
	ConsoleThemeItem item
)

Parameters

item
Type: PostSharp.Patterns.Diagnostics.Backends.Console.ConsoleThemeItem
Theme item.
See Also