ILightBulbSession Interface

Visual Studio 2015
 

Defines a LightBulb session, which encapsulates all the information about a particular LightBulb instance.

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

public interface ILightBulbSession : IIntellisenseSession, IPropertyOwner

NameDescription
System_CAPS_pubpropertyActionCategories

Gets the set of suggested action categories this session was requested to provide.

System_CAPS_pubpropertyApplicableToSpan

Gets the visual span to which this session is applicable in the text buffer. This is used to position the LightBulb presentation that is rendered by light bulb presenters.

System_CAPS_pubpropertyIsCollapsed

Determines whether the session is in the collapsed state.

System_CAPS_pubpropertyIsDismissed

Determines whether the session is dismissed.(Inherited from IIntellisenseSession.)

System_CAPS_pubpropertyIsExpanded

Determines whether the session is in the expanded state.

System_CAPS_pubpropertyPresenter

Gets the IIntellisensePresenter that is used to render IntelliSense for this session.(Inherited from IIntellisenseSession.)

System_CAPS_pubpropertyProperties

(Inherited from IPropertyOwner.)

System_CAPS_pubpropertyTextView

Gets the ITextView in which this IntelliSense session was triggered.(Inherited from IIntellisenseSession.)

System_CAPS_pubpropertyTrackMouse

Determines whether this session is tracking the mouse.

NameDescription
System_CAPS_pubmethodCollapse()

Reduces the session to a minimized state. If the session has no such state, the session will be dismissed.(Inherited from IIntellisenseSession.)

System_CAPS_pubmethodDismiss()

Dismisses the session, causing the presenter to be destroyed and the session to be removed from the session stack.(Inherited from IIntellisenseSession.)

System_CAPS_pubmethodExpand()

Expands the session.

System_CAPS_pubmethodGetTriggerPoint(ITextBuffer)

Gets the ITrackingPoint at which this IntelliSense session was triggered for the specified ITextBuffer.(Inherited from IIntellisenseSession.)

System_CAPS_pubmethodGetTriggerPoint(ITextSnapshot)

Gets the SnapshotPoint at which this IntelliSense session was triggered in terms of the specified ITextSnapshot.(Inherited from IIntellisenseSession.)

System_CAPS_pubmethodMatch()

Determines the best matching item in the session and sets the selection to this item.(Inherited from IIntellisenseSession.)

System_CAPS_pubmethodRecalculate()

Recalculates the underlying IntelliSense items pertaining to this session, using the same trigger point.(Inherited from IIntellisenseSession.)

System_CAPS_pubmethodReset()

Resets the session content.

System_CAPS_pubmethodStart()

Starts the session.(Inherited from IIntellisenseSession.)

System_CAPS_pubmethodTryGetSuggestedActionSets(IEnumerable<SuggestedActionSet>)

Tries to get the list of ISuggestedActions (grouped into SuggestedActionSets) that this session displays.

NameDescription
System_CAPS_pubeventCollapsed

Fires when the session is collapsed.

System_CAPS_pubeventDismissed

Occurs when the session is dismissed.(Inherited from IIntellisenseSession.)

System_CAPS_pubeventExpanded

Fires when the session is expanded.

System_CAPS_pubeventPresenterChanged

Occurs when the IntelliSense presenter for this session changes.(Inherited from IIntellisenseSession.)

System_CAPS_pubeventRecalculated

Occurs when the session is recalculated.(Inherited from IIntellisenseSession.)

Return to top
Show: