IAsyncCodeLensDataPointProvider Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a provider which creates IAsyncCodeLensDataPoint instances from an CodeLensDescriptor.
public interface class IAsyncCodeLensDataPointProvider
public interface IAsyncCodeLensDataPointProvider
type IAsyncCodeLensDataPointProvider = interface
Public Interface IAsyncCodeLensDataPointProvider
Remarks
This is a MEF component part, and should be exported with the following metadata:
[Export(typeof(IAsyncCodeLensDataPointProvider))]
[Name("nameOfTheProvider")]
[ContentType("csharp")]
The following metadata are optional: PriorityAttributeLocalizedNameAttributeOptionUserVisibleAttributeOptionUserModifiableAttributeDetailsTemplateNameAttribute
Methods
CanCreateDataPointAsync(CodeLensDescriptor, CancellationToken) |
Determines if this provider can create an IAsyncCodeLensDataPoint for the specified CodeLensDescriptor. |
CanCreateDataPointAsync(CodeLensDescriptor, CodeLensDescriptorContext, CancellationToken) |
Determines if this provider can create an IAsyncCodeLensDataPoint for the specified CodeLensDescriptor. |
CreateDataPointAsync(CodeLensDescriptor, CancellationToken) |
Creates an IAsyncCodeLensDataPoint, on request, from a given descriptor. |
CreateDataPointAsync(CodeLensDescriptor, CodeLensDescriptorContext, CancellationToken) |
Creates an IAsyncCodeLensDataPoint, on request, from a given descriptor. |