Share via


CodeLensDescriptorContext Class

Definition

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

public ref class CodeLensDescriptorContext sealed
public sealed class CodeLensDescriptorContext
type CodeLensDescriptorContext = class
Public NotInheritable Class CodeLensDescriptorContext
Inheritance
CodeLensDescriptorContext

Constructors

CodeLensDescriptorContext(Nullable<Span>, IDictionary<Object,Object>)

Creates a new instance of the CodeLensDescriptorContext class.

Properties

ApplicableSpan

The Span of the code element.

Properties

A property bag for any additional dynamic properties a CodeLens tagger might want to provide.

Applies to