Class PasteOperation
Requests a paste operation from the server by providing the current clipboard data. Typically this means that elements should be created based on the data in the clipboard.
public class PasteOperation : Operation
- Inheritance
-
PasteOperation
- Inherited Members
Fields
PasteOperationKind
The kind value used for this kind of action
public const string PasteOperationKind = "paste"
Field Value
Properties
ClipboardData
The clipboard data that should be pasted to the editor's last recorded mouse position (see editorContext
).
public IDictionary<string, object> ClipboardData { get; }
Property Value
EditorContext
The current editor context.
public EditorContext EditorContext { get; set; }
Property Value
Kind
Unique identifier specifying the kind of action to process.
public override string Kind { get; }
Property Value
Methods
ExecuteAsync(IGlspSession)
Executes the action in the context of the given session
public override Task ExecuteAsync(IGlspSession session)
Parameters
session
IGlspSessionThe session in which to execute the action