Table of Contents

Class RequestMarkersAction

Namespace
NMF.Glsp.Protocol.Validation
Assembly
NMF.Glsp.dll

Action to retrieve markers for the specified model elements. Sent from the client to the server.

public class RequestMarkersAction : RequestAction
Inheritance
RequestMarkersAction
Inherited Members

Fields

RequestMarkersActionKind

The kind value used for this kind of action

public const string RequestMarkersActionKind = "requestMarkers"

Field Value

string

Properties

ElementsIDs

The elements for which markers are requested, may be just the root element.

public string[] ElementsIDs { get; set; }

Property Value

string[]

Kind

Unique identifier specifying the kind of action to process.

public override string Kind { get; }

Property Value

string

Reason

The reason for this request, e.g. a batch validation or a live validation.

public string Reason { get; set; }

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