PostSharp5.0/API Reference/Post­Sharp.​Patterns.​Diagnostics.​Backends.​Console Namespace/Console­Theme Class/Console­Theme Methods

ConsoleTheme Methods

The ConsoleTheme type exposes the following members.

Methods
  NameDescription
Public methodAddHightlightedItem
Specifies that a ConsoleThemeItem should be formatted using the hightlighted style.
Public methodClone
Returns an editable copy of the current ConsoleTheme.
Public methodFreeze
Prevents modifications in the current ConsoleTheme.
Public methodGetStyle
Gets the ConsoleThemeStyle for a specific theme item.
Public methodRemoveHighlightedItem
Specifies that a ConsoleThemeItem should be formatted using the normal style.
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
See Also