Freigeben über


ISuggestedActionsSource3 Interface

Definition

Important

This API is not CLS-compliant.

Extends ISuggestedActionsSource2 to add an ability to provide custom operation description and progress information when calculating SuggestedActionSets.

public interface class ISuggestedActionsSource3 : IDisposable, Microsoft::VisualStudio::Language::Intellisense::ISuggestedActionsSource2, Microsoft::VisualStudio::Utilities::ITelemetryIdProvider<Guid>
[System.CLSCompliant(false)]
public interface ISuggestedActionsSource3 : IDisposable, Microsoft.VisualStudio.Language.Intellisense.ISuggestedActionsSource2, Microsoft.VisualStudio.Utilities.ITelemetryIdProvider<Guid>
public interface ISuggestedActionsSource3 : IDisposable, Microsoft.VisualStudio.Language.Intellisense.ISuggestedActionsSource2, Microsoft.VisualStudio.Utilities.ITelemetryIdProvider<Guid>
[<System.CLSCompliant(false)>]
type ISuggestedActionsSource3 = interface
    interface ISuggestedActionsSource2
    interface ISuggestedActionsSource
    interface IDisposable
    interface ITelemetryIdProvider<Guid>
type ISuggestedActionsSource3 = interface
    interface ISuggestedActionsSource2
    interface ISuggestedActionsSource
    interface IDisposable
    interface ITelemetryIdProvider<Guid>
Public Interface ISuggestedActionsSource3
Implements IDisposable, ISuggestedActionsSource2, ITelemetryIdProvider(Of Guid)
Attributes
Implements

Methods

GetSuggestedActionCategoriesAsync(ISuggestedActionCategorySet, SnapshotSpan, CancellationToken)

Gets a ISuggestedActionCategorySet which are known to have ISuggestedActions which are applicable to the span of text defined by range.

(Inherited from ISuggestedActionsSource2)
GetSuggestedActions(ISuggestedActionCategorySet, SnapshotSpan, CancellationToken)

Synchronously returns a list of suggested actions for a given span of text.

(Inherited from ISuggestedActionsSource)
GetSuggestedActions(ISuggestedActionCategorySet, SnapshotSpan, IUIThreadOperationContext)

Synchronously returns a list of suggested actions for a given span of text.

HasSuggestedActionsAsync(ISuggestedActionCategorySet, SnapshotSpan, CancellationToken)

Asynchronously indicates whether this provider can provide any suggested actions for a given span of text in the ITextBuffer.

(Inherited from ISuggestedActionsSource)
TryGetTelemetryId(TId)

Tries to get a unique ID for telemetry purposes.

(Inherited from ITelemetryIdProvider<TId>)

Events

SuggestedActionsChanged

Raised when a list of available suggested actions have changed.

(Inherited from ISuggestedActionsSource)

Applies to