IAsyncLightBulbSession Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
ILightBulbSession which supports obtaining SuggestedActionSets asynchronously using the IAsyncSuggestedActionsSource.
public interface class IAsyncLightBulbSession : Microsoft::VisualStudio::Language::Intellisense::ILightBulbSession, Microsoft::VisualStudio::Utilities::IPropertyOwner
public interface IAsyncLightBulbSession : Microsoft.VisualStudio.Language.Intellisense.ILightBulbSession, Microsoft.VisualStudio.Utilities.IPropertyOwner
type IAsyncLightBulbSession = interface
interface ILightBulbSession
interface IIntellisenseSession
interface IPropertyOwner
Public Interface IAsyncLightBulbSession
Implements ILightBulbSession, IPropertyOwner
- Implements
Properties
ActionCategories |
Gets a set of suggested action categories this session was requested to provide. (Inherited from ILightBulbSession) |
ApplicableToSpan |
Gets the visual span to which this session is applicable in the text buffer. This is used to position the Light Bulb presentation that is rendered by Light Bulb presenters. (Inherited from ILightBulbSession) |
CurrentStatus |
Gets current status aggregating the synchronous and asynchronous operation. |
IsCollapsed |
Determines whether the session is in the collapsed state. (Inherited from ILightBulbSession) |
IsDismissed |
Determines whether the session is dismissed. (Inherited from IIntellisenseSession) |
IsExpanded |
Determines whether the session is in the expanded state. (Inherited from ILightBulbSession) |
Presenter |
Gets the IIntellisensePresenter that is used to render IntelliSense for this session. (Inherited from IIntellisenseSession) |
Properties |
The collection of properties controlled by the property owner. (Inherited from IPropertyOwner) |
TextView |
Gets the ITextView inside of which this IntelliSense session was triggered. (Inherited from IIntellisenseSession) |
TrackMouse |
Determines whether this session tracks the mouse. (Inherited from ILightBulbSession) |
Methods
Collapse() |
Collapses the session to an unobtrusive state in which it doesn't get in the way of the user. If the session has no such state, the session will be dismissed. (Inherited from IIntellisenseSession) |
Dismiss() |
Dismisses the session, causing the presenter to be destroyed and the session to be removed from the session stack. (Inherited from IIntellisenseSession) |
Expand() |
Expands the session. (Inherited from ILightBulbSession) |
GetTriggerPoint(ITextBuffer) |
Gets the ITrackingPoint at which this IntelliSense session was triggered in terms of the specified ITextBuffer. (Inherited from IIntellisenseSession) |
GetTriggerPoint(ITextSnapshot) |
Gets the SnapshotPoint at which this IntelliSense session was triggered in terms of the specified ITextSnapshot. (Inherited from IIntellisenseSession) |
Match() |
Determines the best matching item in the session and sets the selection to this item. (Inherited from IIntellisenseSession) |
PopulateWithData(ISuggestedActionCategorySet, IUIThreadOperationContext) |
Obsolete.
Gets SuggestedActionSets through synchronous API and enqueues work to get SuggestedActionSets through asynchronous API. Displays the received actions in the UI and communicates updates through the SuggestedActionsUpdated event. |
PopulateWithDataAsync(ISuggestedActionCategorySet, IUIThreadOperationContext) |
Gets SuggestedActionSets through synchronous API and enqueues work to get SuggestedActionSets through the asynchronous API. Displays the received actions in the UI and communicates updates through the SuggestedActionsUpdated event. |
Recalculate() |
Recalculates the underlying IntelliSense items pertaining to this session, using the same trigger point. (Inherited from IIntellisenseSession) |
Reset() |
Resets the session content. (Inherited from ILightBulbSession) |
Start() |
Starts the session. (Inherited from IIntellisenseSession) |
TryGetSuggestedActionSets(IEnumerable<SuggestedActionSet>) |
Obsolete.
Tries to get the list of ISuggestedActions (grouped into SuggestedActionSets) this session displays. (Inherited from ILightBulbSession) |
Events
Collapsed |
Fires when the session is collapsed. (Inherited from ILightBulbSession) |
Dismissed |
Occurs when the session is dismissed. (Inherited from IIntellisenseSession) |
Expanded |
Fires when the session is expanded. (Inherited from ILightBulbSession) |
PresenterChanged |
Occurs when the IntelliSense presenter for this session changes. (Inherited from IIntellisenseSession) |
Recalculated |
Occurs when the session is recalculated. (Inherited from IIntellisenseSession) |
SuggestedActionsUpdated |
Notifies of synchronous and asynchronous updates to available SuggestedActionSets |