共用方式為


CodeLensDescriptorContext Constructor

Definition

Creates a new instance of the CodeLensDescriptorContext class.

public CodeLensDescriptorContext (Microsoft.VisualStudio.Text.Span? applicableSpan, System.Collections.Generic.IDictionary<object,object> properties = default);
new Microsoft.VisualStudio.Language.CodeLens.CodeLensDescriptorContext : Nullable<Microsoft.VisualStudio.Text.Span> * System.Collections.Generic.IDictionary<obj, obj> -> Microsoft.VisualStudio.Language.CodeLens.CodeLensDescriptorContext
Public Sub New (applicableSpan As Nullable(Of Span), Optional properties As IDictionary(Of Object, Object) = Nothing)

Parameters

applicableSpan
Nullable<Span>
properties
IDictionary<Object,Object>

Applies to