Class RequestEditValidationAction
- Namespace
- NMF.Glsp.Protocol.Validation
- Assembly
- NMF.Glsp.dll
Requests the validation of the given text in the context of the provided model element. Typically sent from the client to the server.
public class RequestEditValidationAction : RequestAction
- Inheritance
-
RequestEditValidationAction
- Inherited Members
Fields
RequestEditValidationActionKind
The kind value used for this kind of action
public const string RequestEditValidationActionKind = "requestEditValidation"
Field Value
Properties
ContextId
Context in which the text is validated, e.g., 'label-edit'.
public string ContextId { get; init; }
Property Value
Kind
Unique identifier specifying the kind of action to process.
public override string Kind { get; }
Property Value
ModelElementId
Model element that is being edited.
public string ModelElementId { get; init; }
Property Value
Text
Text that should be considered for the model element.
public string Text { 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