Table of Contents

Class DeleteElementOperation

Namespace
NMF.Glsp.Protocol.Modification
Assembly
NMF.Glsp.dll

The client sends a DeleteElementOperation to the server to request the deletion of an element from the model.

public class DeleteElementOperation : Operation
Inheritance
DeleteElementOperation
Inherited Members

Fields

DeleteElementOperationKind

The kind value used for this kind of action

public const string DeleteElementOperationKind = "deleteElement"

Field Value

string

Properties

ElementIds

The elements to be deleted.

public string[] ElementIds { get; init; }

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