Table of Contents

Interface IComponentFactory

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

Base untyped interface for IComponentFactory<TInputRecord> for methods that are not templated on low level console input type.

public interface IComponentFactory

Methods

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.