Table of Contents

Class WindowsComponentFactory

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

IComponentFactory<T> implementation for win32 windows only I/O i.e. v2win. This factory creates instances of internal classes Terminal.Gui.Drivers.WindowsInput, Terminal.Gui.Drivers.WindowsOutput etc.

public class WindowsComponentFactory : ComponentFactory<WindowsConsole.InputRecord>, IComponentFactory<WindowsConsole.InputRecord>, IComponentFactory
Inheritance
WindowsComponentFactory
Implements
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<InputRecord>)

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.

CreateOutput()

Create the IConsoleOutput class for the current driver implementation i.e. the class responsible for rendering IOutputBuffer into the console.