Class RequestCheckEdgeAction
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
Properties
EdgeType
The element type of the edge being created.
public string EdgeType { get; init; }
Property Value
Kind
Unique identifier specifying the kind of action to process.
public override string Kind { get; }
Property Value
SourceElementId
The ID of the edge source element.
public string SourceElementId { get; init; }
Property Value
TargetElementId
The ID of the edge target element to check.
public string TargetElementId { get; init; }
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