UtilConsoleWriteColorTextLine(String, Char) Method
Writes colored text on the Console and adds an empty line at the end.
Use
*F##* as the start delimiter of the ForeColor, use
*-F* as the end delimiter of the ForeColor.
Use
*B##* as the start delimiter of the BackColor, use
*-B* as the end delimiter of the BackColor.
Namespace: DevCase.Core.Application.ConsoleAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static void WriteColorTextLine(
string text,
char[] delimiters
)
Public Shared Sub WriteColorTextLine (
text As String,
delimiters As Char()
)
Dim text As String
Dim delimiters As Char()
UtilConsole.WriteColorTextLine(text, delimiters)
public:
static void WriteColorTextLine(
String^ text,
array<wchar_t>^ delimiters
)
static member WriteColorTextLine :
text : string *
delimiters : char[] -> unit
No code example is currently available or this language may not be supported.
Parameters
- text String
-
The color-delimited text to write.
- delimiters Char
-
A set of 1 or 2 delimiters to parse the color-delimited string.
This is a code example.
No code example is currently available or this language may not be supported.
WriteColorTextLine("{B15}{F12} Hello World! {-F}{-B}", {"{"c, "}"c})
WriteColorTextLine(String.Format("*B15**F12* {0} *F0*{1} *-F**-B*", "Hello", "World!"), {"*"c})
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.