Table of Contents

Class RequestContextActions

Namespace
NMF.Glsp.Protocol.Context
Assembly
NMF.Glsp.dll

The RequestContextActions is sent from the client to the server to request the available actions for the context with id contextId.

public class RequestContextActions : RequestAction
Inheritance
RequestContextActions
Inherited Members

Fields

RequestContextActionsKind

The kind value used for this kind of action

public const string RequestContextActionsKind = "requestContextActions"

Field Value

string

Properties

ContextId

The identifier for the context.

public string ContextId { get; init; }

Property Value

string

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