Show / Hide Table of Contents

    Class ConsoleUI

    Logic for the console's UI connection

    Inheritance
    Object
    ConsoleUI
    TextConsoleUI
    Namespace: i5.Toolkit.Core.AppConsole
    Assembly: cs.temp.dll.dll
    Syntax
    public abstract class ConsoleUI

    Constructors

    ConsoleUI(LogFormatterConfiguration)

    Creates a new console UI logic

    Declaration
    public ConsoleUI(LogFormatterConfiguration logFormatterConfiguration = null)
    Parameters
    Type Name Description
    LogFormatterConfiguration logFormatterConfiguration

    Determines how messages should be formatted

    Fields

    logFormatter

    Declaration
    protected ILogFormatter logFormatter
    Field Value
    Type Description
    ILogFormatter

    Properties

    CaptureInBackground

    If true, the console captures messages, even if the object is deactivated

    Declaration
    public bool CaptureInBackground { get; set; }
    Property Value
    Type Description
    Boolean

    Console

    Console which handles the message capturing

    Declaration
    public IConsole Console { get; set; }
    Property Value
    Type Description
    IConsole

    Methods

    OnDisable()

    Called if hte object is disabled Stops capturing if it should not capture in background

    Declaration
    public void OnDisable()

    OnEnable()

    Called if the object is enabled Starts capturing messages

    Declaration
    public void OnEnable()

    UpdateUI()

    Declaration
    protected abstract void UpdateUI()
    Back to top i5 Toolkit Documentation