Compartilhar via


ICodeLensDescriptorContextProvider Interface

Definition

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.

public interface class ICodeLensDescriptorContextProvider
public interface ICodeLensDescriptorContextProvider
type ICodeLensDescriptorContextProvider = interface
Public Interface ICodeLensDescriptorContextProvider

Methods

GetCurrentContextAsync()

Gets current context properties of a code element tagged with ICodeLensTag2.

Applies to