Freigeben über


IAsyncCodeLensDataPointProvider Interface

Definition

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.

Applies to