Table of Contents

Interface IComponentFactory<T>

Namespace
Terminal.Gui.Drivers
Assembly
Terminal.Gui.dll

Creates driver specific subcomponent classes (IConsoleInput<T>, IInputProcessor etc) for a IMainLoopCoordinator.

public interface IComponentFactory<T> : IComponentFactory

Type Parameters

T
Inherited Members

Methods

CreateInput()

Create IConsoleInput<T> class for the current driver implementation i.e. the class responsible for reading user input from the console.

CreateInputProcessor(ConcurrentQueue<T>)

Creates the InputProcessor<T> class for the current driver implementation i.e. the class responsible for translating raw console input into Terminal.Gui common event Key and MouseEventArgs.

CreateWindowSizeMonitor(IConsoleOutput, IOutputBuffer)

Creates IWindowSizeMonitor class for the current driver implementation i.e. the class responsible for reporting the current size of the terminal window.