Table of Contents

Interface IClientSessionProvider

Namespace
NMF.Glsp.Contracts
Assembly
NMF.Glsp.dll

Denotes a GLSP session provider

public interface IClientSessionProvider

Properties

DiagramType

The diagram type for which the provider can create sessions

string DiagramType { get; }

Property Value

string

SupportedActions

Gets a collection with supported action kinds

IEnumerable<string> SupportedActions { get; }

Property Value

IEnumerable<string>

Methods

CreateSession(IDictionary<string, object>, IModelServer)

Creates a session

IGlspClientSession CreateSession(IDictionary<string, object> args, IModelServer modelServer)

Parameters

args IDictionary<string, object>

arguments passed by the GLSP client

modelServer IModelServer

the model server for which to create the session

Returns

IGlspClientSession

A GLSP session