Compartir a través de


VisualCodeLens Class

Definition

Represents a CodeLens that can provide a visualization for details of the CodeLens data.

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

Constructors

VisualCodeLens()

Methods

Dispose() (Inherited from CodeLens)
GetLabelAsync(CodeElementContext, CancellationToken)

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

(Inherited from CodeLens)
GetVisualizationAsync(CodeElementContext, IClientContext, CancellationToken)

Gets the visualization for details of the CodeLens.

Invalidate()

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

(Inherited from CodeLens)

Applies to