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
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
Methods
ExecuteAsync(IGlspSession)
Executes the action in the context of the given session
public override Task ExecuteAsync(IGlspSession session)
Parameters
session
IGlspSessionThe session in which to execute the action