StandardOutWriterWriteLine Method |
Writes the specified
String value, followed by the current line terminator,
to the standard output stream. Optionally you may specify which colors should be used.
Namespace: Akka.UtilAssembly: Akka (in Akka.dll) Version: 0.8.0.0 (0.8.0.0)
Syntaxpublic static void WriteLine(
string message,
Nullable<ConsoleColor> foregroundColor = null,
Nullable<ConsoleColor> backgroundColor = null
)
Public Shared Sub WriteLine (
message As String,
Optional foregroundColor As Nullable(Of ConsoleColor) = Nothing,
Optional backgroundColor As Nullable(Of ConsoleColor) = Nothing
)
public:
static void WriteLine(
String^ message,
Nullable<ConsoleColor> foregroundColor = nullptr,
Nullable<ConsoleColor> backgroundColor = nullptr
)
static member WriteLine :
message : string *
?foregroundColor : Nullable<ConsoleColor> *
?backgroundColor : Nullable<ConsoleColor>
(* Defaults:
let _foregroundColor = defaultArg foregroundColor null
let _backgroundColor = defaultArg backgroundColor null
*)
-> unit
Parameters
- message
- Type: SystemString
The String value to write - foregroundColor (Optional)
- Type: SystemNullableConsoleColor
Optional: The foreground color - backgroundColor (Optional)
- Type: SystemNullableConsoleColor
Optional: The background color
See Also