次の方法で共有


Microsoft.VisualStudio.Language.CodeLens Namespace

Classes

CodeLensDescriptorContext

Contains dynamic context (such as span) of a code element at the location where an ICodeLensTag will be created, in addition to immutable ICodeLensDescriptor.

CodeLensTagProperties

Properties of ICodeLensTag3.

PredefinedCodeLensDescriptorContextPropertyNames

Specifies the names of the well known properties that can appear as keys in the Properties dictionary.

Interfaces

ICodeLensCallbackListener

Represents an object in VS process that listens and responds to callback from CodeLens OOP extensions. The remote CodeLens extension calls back to VS via one of the InvokeAsync overloads on ICodeLensCallbackService.

ICodeLensDescriptor

Represents an object describing a code element at the location where an ICodeLensTag will be created.

ICodeLensDescriptorContextProvider

Provides dynamic context properties of a code element tagged with ICodeLensTag2 in addition to immutable ICodeLensDescriptor. These include a span of the code element, which for example is changing during code editing within a method, unlike ICodeLensDescriptor of the method.

ICodeLensTag

An ITag indicating the place where CodeLens indicators should be created.

ICodeLensTag2

Extends ICodeLensTag with an ability to provide ICodeLensDescriptorContextProvider.

ICodeLensTag3

Extends ICodeLensTag2 with an ability to provide CodeLensTagProperties.