Class NetComponentFactory
IComponentFactory<TInputRecord> implementation for native csharp console I/O i.e. dotnet. This factory creates instances of internal classes NetInput, NetOutput etc.
public class NetComponentFactory : ComponentFactoryImpl<ConsoleKeyInfo>, IComponentFactory<ConsoleKeyInfo>, IComponentFactory
- Inheritance
-
NetComponentFactory
- 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<ConsoleKeyInfo>, 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.