ISuggestedActionsSourceProvider Interface

Visual Studio 2015
 

Defines a provider of a suggested actions source.

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

[CLSCompliantAttribute(false)]
public interface ISuggestedActionsSourceProvider

NameDescription
System_CAPS_pubmethodCreateSuggestedActionsSource(ITextView, ITextBuffer)

Creates suggested actions source for a given text buffer.

This is a MEF component part, and should be exported with the following attribute:

 [Export(typeof(ISuggestedActionsSourceProvider))]
[Order]
[Name]
[ContentType]

You must specify the ContentType so that the source provider creates sources for buffers of content types that it recognizes, and Order to specify the order in which the sources are called.

Return to top
Show: