Table of Contents

Class RequestTypeHintsAction

Namespace
NMF.Glsp.Protocol.Types
Assembly
NMF.Glsp.dll

Sent from the client to the server in order to request hints on whether certain modifications are allowed for a specific element type. The RequestTypeHintsAction is optional, but should usually be among the first messages sent from the client to the server after receiving the model via RequestModelAction. The response is a SetTypeHintsAction.

public class RequestTypeHintsAction : RequestAction
Inheritance
RequestTypeHintsAction
Inherited Members

Fields

RequestTypeHintsActionKind

The kind value used for this kind of action

public const string RequestTypeHintsActionKind = "requestTypeHints"

Field Value

string

Properties

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