Table of Contents

Constructor FakeComponentFactory

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

FakeComponentFactory(ConcurrentQueue<ConsoleKeyInfo>?, FakeConsoleOutput?)

Creates a new FakeComponentFactory with optional predefined input and output capture.

public FakeComponentFactory(ConcurrentQueue<ConsoleKeyInfo>? predefinedInput = null, FakeConsoleOutput? output = null)

Parameters

predefinedInput ConcurrentQueue<ConsoleKeyInfo>

Optional queue of predefined input events to simulate.

output FakeConsoleOutput

Optional fake output to capture what would be written to console.