Table of Contents

Class RequestCheckEdgeAction

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

Sent from the client to the server to check wether the provided edge context information is valid i.e. creation of an edge with the given edge type and source/target element is allowed by the server. Typically this action is dispatched by edge creation tools in the creation phase of an edge that’s associated with a dynamic EdgeTypeHint.

public class RequestCheckEdgeAction : RequestAction
Inheritance
RequestCheckEdgeAction
Inherited Members

Fields

RequestCheckEdgeActionKind

The kind value used for this kind of action

public const string RequestCheckEdgeActionKind = "requestCheckEdge"

Field Value

string

Properties

EdgeType

The element type of the edge being created.

public string EdgeType { get; init; }

Property Value

string

Kind

Unique identifier specifying the kind of action to process.

public override string Kind { get; }

Property Value

string

SourceElementId

The ID of the edge source element.

public string SourceElementId { get; init; }

Property Value

string

TargetElementId

The ID of the edge target element to check.

public string TargetElementId { get; init; }

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