Share via


InvokableCodeLens Class

Definition

Represents an invokable CodeLens. Such CodeLens executes code when user clicks on the CodeLens adornment in the editor.

public abstract class InvokableCodeLens : Microsoft.VisualStudio.Extensibility.Editor.CodeLens
type InvokableCodeLens = class
    inherit CodeLens
Public MustInherit Class InvokableCodeLens
Inherits CodeLens
Inheritance
InvokableCodeLens

Constructors

InvokableCodeLens()

Methods

Dispose() (Inherited from CodeLens)
ExecuteAsync(CodeElementContext, IClientContext, CancellationToken)

Invoke this CodeLens given the context information.

GetLabelAsync(CodeElementContext, CancellationToken)

Gets CodeLens label for the CodeLens instance given the context information.

(Inherited from CodeLens)
Invalidate()

Invalidates the CodeLens instance (e.g. when the data it displays is no longer valid).

(Inherited from CodeLens)

Applies to