Class WindowsComponentFactory
IComponentFactory<TInputRecord> implementation for win32 only I/O. This factory creates instances of internal classes Terminal.Gui.Drivers.WindowsInput, Terminal.Gui.Drivers.WindowsOutput etc.
public class WindowsComponentFactory : ComponentFactoryImpl<WindowsConsole.InputRecord>, IComponentFactory<WindowsConsole.InputRecord>, IComponentFactory
- Inheritance
-
WindowsComponentFactory
- Implements
- Inherited Members
Methods
- CreateInput()
Create IInput<TInputRecord> class for the current driver implementation i.e. the class responsible for reading user input from the console.
- CreateInputProcessor(ConcurrentQueue<InputRecord>, ITimeProvider?)
Creates the InputProcessorImpl<TInputRecord> class for the current driver implementation i.e. the class responsible for translating raw console input into Terminal.Gui common event Key and Mouse.
- CreateOutput()
Create the IOutput class for the current driver implementation i.e. the class responsible for rendering IOutputBuffer into the console.
- GetDriverName()
Gets the name of the driver this factory creates components for. This is the single source of truth for driver identification.