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

Properties

AppModel

Gets or sets the application model. Set by IApplication before CreateOutput() is called so output implementations know whether to use the alternate screen buffer.

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.