C# Class Akka.Util.StandardOutWriter

This class contains methods for thread safe writing to the standard output stream.
Datei anzeigen Open project: rogeralsing/akka.net

Public Methods

Method Description
Write ( string message, ConsoleColor foregroundColor = null, ConsoleColor backgroundColor = null ) : void

Writes the specified string value to the standard output stream. Optionally you may specify which colors should be used.

WriteLine ( string message, ConsoleColor foregroundColor = null, ConsoleColor backgroundColor = null ) : void

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.

Private Methods

Method Description
WriteToConsole ( string message, ConsoleColor foregroundColor = null, ConsoleColor backgroundColor = null, bool line = true ) : void

Method Details

Write() public static method

Writes the specified string value to the standard output stream. Optionally you may specify which colors should be used.
public static Write ( string message, ConsoleColor foregroundColor = null, ConsoleColor backgroundColor = null ) : void
message string The value to write
foregroundColor ConsoleColor Optional: The foreground color
backgroundColor ConsoleColor Optional: The background color
return void

WriteLine() public static 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.
public static WriteLine ( string message, ConsoleColor foregroundColor = null, ConsoleColor backgroundColor = null ) : void
message string The value to write
foregroundColor ConsoleColor Optional: The foreground color
backgroundColor ConsoleColor Optional: The background color
return void