Condividi tramite


VTColorUtils.AsEscapeSequence Method

Definition

Overloads

AsEscapeSequence(Object)
AsEscapeSequence(ConsoleColor, ConsoleColor)
AsEscapeSequence(Object, Boolean)

AsEscapeSequence(Object)

public static string AsEscapeSequence (object o);
static member AsEscapeSequence : obj -> string
Public Shared Function AsEscapeSequence (o As Object) As String

Parameters

o
Object

Returns

Applies to

AsEscapeSequence(ConsoleColor, ConsoleColor)

public static string AsEscapeSequence (ConsoleColor fg, ConsoleColor bg);
static member AsEscapeSequence : ConsoleColor * ConsoleColor -> string
Public Shared Function AsEscapeSequence (fg As ConsoleColor, bg As ConsoleColor) As String

Parameters

Returns

Applies to

AsEscapeSequence(Object, Boolean)

public static string AsEscapeSequence (object o, bool isBackground);
static member AsEscapeSequence : obj * bool -> string
Public Shared Function AsEscapeSequence (o As Object, isBackground As Boolean) As String

Parameters

o
Object
isBackground
Boolean

Returns

Applies to