Table of Contents

Class FakeClipboard

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

Implements a fake clipboard for testing purposes.

public class FakeClipboard : ClipboardBase, IClipboard
Inheritance
FakeClipboard
Implements
Inherited Members

Constructors

FakeClipboard(bool, bool)

Constructs a new instance of FakeClipboard.

Properties

FakeException

Gets or sets an exception to be thrown by clipboard operations.

IsSupported

Returns true if the environmental dependencies are in place to interact with the OS clipboard

Methods

GetClipboardDataImpl()

Returns the contents of the OS clipboard if possible. Implemented by IConsoleDriver-specific subclasses.

SetClipboardDataImpl(string?)

Pastes the text to the OS clipboard if possible. Implemented by IConsoleDriver -specific subclasses.