Table of Contents

Class RequestClipboardDataAction

Namespace
NMF.Glsp.Protocol.Clipboard
Assembly
NMF.Glsp.dll

Requests the clipboard data for the current editor context, i.e., the selected elements, in a clipboard-compatible format.

public class RequestClipboardDataAction : RequestAction
Inheritance
RequestClipboardDataAction
Inherited Members

Fields

RequestClipboardDataActionKind

The kind value used for this kind of action

public const string RequestClipboardDataActionKind = "requestClipboardData"

Field Value

string

Properties

EditorContext

The current editor context.

public EditorContext EditorContext { get; init; }

Property Value

EditorContext

Kind

Unique identifier specifying the kind of action to process.

public override string Kind { get; }

Property Value

string

Methods

ExecuteAsync(IGlspSession)

Executes the action in the context of the given session

public override Task ExecuteAsync(IGlspSession session)

Parameters

session IGlspSession

The session in which to execute the action

Returns

Task