ISuggestedActionsSource Interface

Visual Studio 2015
 

Represents a provider of suggested actions for a span of text in a ITextBuffer. Instances of ISuggestedActionsSource are created by ISuggestedActionsSourceProvider MEF components that match the text buffer's content type.

Namespace:   Microsoft.VisualStudio.Language.Intellisense
Assembly:  Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)

[CLSCompliantAttribute(false)]
public interface ISuggestedActionsSource : IDisposable, ITelemetryIdProvider<Guid>

NameDescription
System_CAPS_pubmethodDispose()

(Inherited from IDisposable.)

System_CAPS_pubmethodGetSuggestedActions(ISuggestedActionCategorySet, SnapshotSpan, CancellationToken)

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

System_CAPS_pubmethodHasSuggestedActionsAsync(ISuggestedActionCategorySet, SnapshotSpan, CancellationToken)

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

System_CAPS_pubmethodTryGetTelemetryId(Tid)

(Inherited from ITelemetryIdProvider<Tid>.)

NameDescription
System_CAPS_pubeventSuggestedActionsChanged

Raised when a list of available suggested actions have changed.

Return to top
Show: