Search Results for

    Show / Hide Table of Contents

    Class StandardOutWriter

    This class contains methods for thread safe writing to the standard output stream.

    Inheritance
    object
    StandardOutWriter
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Akka.Util
    Assembly: Akka.dll
    Syntax
    public static class StandardOutWriter

    Methods

    | Edit this page View Source

    Write(string, ConsoleColor?, ConsoleColor?)

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

    Declaration
    public static void Write(string message, ConsoleColor? foregroundColor = null, ConsoleColor? backgroundColor = null)
    Parameters
    Type Name Description
    string message

    The string value to write

    ConsoleColor? foregroundColor

    Optional: The foreground color

    ConsoleColor? backgroundColor

    Optional: The background color

    | Edit this page View Source

    WriteLine(string, ConsoleColor?, ConsoleColor?)

    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.

    Declaration
    public static void WriteLine(string message, ConsoleColor? foregroundColor = null, ConsoleColor? backgroundColor = null)
    Parameters
    Type Name Description
    string message

    The string value to write

    ConsoleColor? foregroundColor

    Optional: The foreground color

    ConsoleColor? backgroundColor

    Optional: The background color

    In this article
    • githubEdit this page
    • View Source
    Back to top
    Contribute
    • Project Chat
    • Discussion Forum
    • Source Code
    Support
    • Akka.NET Support Plans
    • Akka.NET Observability Tools
    • Akka.NET Training & Consulting
    Maintained By
    • Petabridge - The Akka.NET Company
    • Learn Akka.NET