Table of Contents

Class SaveModelAction

Namespace
NMF.Glsp.Protocol.ModelData
Assembly
NMF.Glsp.dll

Sent from the client to the server in order to persist the current model state back to the source model. A new fileUri can be defined to save the model to a new destination different from its original source model.

public class SaveModelAction : ExecutableAction
Inheritance
SaveModelAction
Inherited Members

Fields

SaveModelActionKind

The kind value used for this kind of action

public const string SaveModelActionKind = "saveModel"

Field Value

string

Properties

FileUri

The optional destination file uri.

public string FileUri { get; set; }

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