RunicServeOnlyClipboard class

Namespace Runic.Application.Testing in Runic.Application.Testing 0.23.0

public sealed class RunicServeOnlyClipboard

Scripts the clipboard of a serve-only application (RunicServeOnlyTestPlatform.Clipboard), with the names of RunicTestClipboard.

Methods

SetContent

public void SetContent(DesktopClipboardContent? content)

Replaces the clipboard's content, as another application's copy would, before the application's next clipboard call.

Parameters

content

The content, or null to empty the clipboard.

SetText

public void SetText(string text)

Replaces the clipboard's content with text.

Parameters

text

The text.