Table of Contents

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

string

Properties

ContextId

Context in which the text is validated, e.g., 'label-edit'.

public string ContextId { get; init; }

Property Value

string

Kind

Unique identifier specifying the kind of action to process.

public override string Kind { get; }

Property Value

string

ModelElementId

Model element that is being edited.

public string ModelElementId { get; init; }

Property Value

string

Text

Text that should be considered for the model element.

public string Text { 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