PostSharp5.0/API Reference/Post­Sharp.​Patterns.​Diagnostics.​Backends.​Console Namespace/Console­Theme­Style Class/Console­Theme­Style Properties/Console­Theme­Style.​Ansi­Code Property

ConsoleThemeStyle.AnsiCode Property

Gets the VT ANSI code for the style.

Namespace:  PostSharp.Patterns.Diagnostics.Backends.Console
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 5.0.55.0 (5.0.55.0)
Syntax
C#
public string AnsiCode { get; }

Property Value

Type: String
Remarks

This property can return null if the whole theme does not support VT ANSI codes.

See Also