Table of Contents

Class CustomOperation

Namespace
NMF.Glsp.Protocol.BaseProtocol
Assembly
NMF.Glsp.dll

Denotes a class for custom operations

public class CustomOperation : Operation
Inheritance
CustomOperation
Inherited Members

Constructors

CustomOperation(string)

Creates a new custom operation with the given kind

public CustomOperation(string kind)

Parameters

kind string

Properties

Args

Custom arguments.

public IDictionary<string, object> Args { get; init; }

Property Value

IDictionary<string, object>

ElementId

Gets or sets the element for which this operation was created

public string ElementId { get; set; }

Property Value

string

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