Table of Contents

Class SetDirtyAction

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

The server sends a SetDirtyStateAction to indicate to the client that the current model state on the server does not correspond to the persisted model state of the source model. A client may ignore such an action or use it to indicate to the user the dirty state.

public class SetDirtyAction : BaseAction
Inheritance
SetDirtyAction
Inherited Members

Fields

SetDirtyActionKind

The kind value used for this kind of action

public const string SetDirtyActionKind = "setDirtyState"

Field Value

string

Properties

IsDirty

True if the current model state is dirty

public bool IsDirty { get; set; }

Property Value

bool

Kind

Unique identifier specifying the kind of action to process.

public override string Kind { get; }

Property Value

string

Reason

A string indicating the reason for the dirty state change e.g 'operation', 'undo' ...

public string Reason { get; set; }

Property Value

string