ILightBulbBroker Interface
Represents a LightBulb broker, which is globally responsible for managing ILightBulbSessions.
Assembly: Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)
| Name | Description | |
|---|---|---|
![]() | CanCreateSession(ISuggestedActionCategorySet, ITextView) | Determines whether an ILightBulbSession can be created for a given ITextView with the current caret position as a trigger point. |
![]() | CanCreateSession(ISuggestedActionCategorySet, ITextView, ITrackingPoint) | Determines whether an ILightBulbSession can be created for a given ITextView at a given trigger point. |
![]() | CreateSession(ISuggestedActionCategorySet, ITextView) | Creates, but doesn't expand an ILightBulbSession for a given ITextView. |
![]() | CreateSession(ISuggestedActionCategorySet, ITextView, ITrackingPoint, ITrackingSpan, Boolean) | Creates but doesn't expand an ILightBulbSession for a given ITextView with the current caret position as a trigger point. |
![]() | DismissSession(ITextView) | Dismisses an active < ILightBulbSession for the specified ITextView. |
![]() | GetSession(ITextView) | Gets the active ILightBulbSession for the specified ITextView. |
![]() | GetSuggestedActionsSources(ITextView, ITextBuffer) | Gets a list of ISuggestedActionsSources for given ITextView and ITextBuffer. |
![]() | HasSuggestedActionsAsync(ISuggestedActionCategorySet, ITextView, CancellationToken) | Asynchronously determines whether any ISuggestedActions are associated with a given trigger point position and span in a given ITextView. |
![]() | HasSuggestedActionsAsync(ISuggestedActionCategorySet, ITextView, ITrackingPoint, ITrackingSpan, CancellationToken) | |
![]() | IsLightBulbSessionActive(ITextView) | Determines whether or not an < ILightBulbSession is active over the specified ITextView. |
![]() | IsSupportedContentType(IContentType) | Determines whether there is at least one ISuggestedActionsSourceProvider that supports the given content type. |
![]() | TryExpandSession(ISuggestedActionCategorySet, ITextView) | Tries to create and expand an ILightBulbSession for the specified ITextView. |
![]() | TryExpandSession(ISuggestedActionCategorySet, ITextView, ITrackingPoint, ITrackingSpan, Boolean) | Tries to create and expand ILightBulbSession for the specified ITextView. |
This is a MEF component, and should be imported as follows:
[Import]
ILightBulbBroker lightBulbBroker = null;
