Table of Contents

Class ResolveNavigationTargetAction

Namespace
NMF.Glsp.Protocol.Navigation
Assembly
NMF.Glsp.dll

If a client cannot navigate to a target directly, a ResolveNavigationTargetAction may be sent to the server to resolve the navigation target to one or more model elements. This may be useful in cases where the resolution of each target is expensive or the client architecture requires an indirection.

public class ResolveNavigationTargetAction : RequestAction
Inheritance
ResolveNavigationTargetAction
Inherited Members

Fields

ResolveNavigationTargetActionKind

The kind value used for this kind of action

public const string ResolveNavigationTargetActionKind = "resolveNavigationTarget"

Field Value

string

Properties

Kind

Unique identifier specifying the kind of action to process.

public override string Kind { get; }

Property Value

string

NavigationTarget

The navigation target to resolve.

public NavigationTarget NavigationTarget { get; init; }

Property Value

NavigationTarget

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