ILightBulbBroker2 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
public interface class ILightBulbBroker2 : Microsoft::VisualStudio::Language::Intellisense::ILightBulbBroker
[System.CLSCompliant(false)]
public interface ILightBulbBroker2 : Microsoft.VisualStudio.Language.Intellisense.ILightBulbBroker
[<System.CLSCompliant(false)>]
type ILightBulbBroker2 = interface
interface ILightBulbBroker
Public Interface ILightBulbBroker2
Implements ILightBulbBroker
- 属性
-
- 实现
-
这是一个 MEF 组件,应如下所示导入: [Import] ILightBulbBroker2 lightBulbBroker = null;
方法
|
CanCreateSession(ISuggestedActionCategorySet, ITextView)
|
确定是否可以为给定的将 ILightBulbSession ITextView 当前插入符号位置作为触发器点来创建。
(继承自 ILightBulbBroker)
|
|
CanCreateSession(ISuggestedActionCategorySet, ITextView, ITrackingPoint)
|
确定是否 ILightBulbSession 可以在给定的触发器点为给定的创建 ITextView 。
(继承自 ILightBulbBroker)
|
|
CreateSession(ISuggestedActionCategorySet, ITextView)
|
已过时。
创建,但不会 ILightBulbSession 为指定的将 ITextView 当前插入符号位置作为触发器点展开。
(继承自 ILightBulbBroker)
|
|
CreateSession(ISuggestedActionCategorySet, ITextView, ISuggestedActionCategorySet)
|
创建,但不会扩展 ILightBulbSession 给定的作为触发器点的作为给定的 ITextView 。
|
|
CreateSession(ISuggestedActionCategorySet, ITextView, ITrackingPoint, ITrackingSpan, Boolean)
|
已过时。
创建,但不会 ILightBulbSession 为指定的将 ITextView 当前插入符号位置作为触发器点展开。
(继承自 ILightBulbBroker)
|
|
CreateSession(ISuggestedActionCategorySet, ITextView, ITrackingPoint, ITrackingSpan, ISuggestedActionCategorySet, Boolean)
|
创建,但不会扩展 ILightBulbSession 给定的作为触发器点的作为给定的 ITextView 。
|
|
DismissSession(ITextView)
|
为指定的 ITextView 消除活动的 < ILightBulbSession。
(继承自 ILightBulbBroker)
|
|
GetSession(ITextView)
|
获取指定的活动 ILightBulbSession ITextView 。
(继承自 ILightBulbBroker)
|
|
GetSuggestedActionCategoriesAsync(ISuggestedActionCategorySet, ITextView, CancellationToken)
|
以异步方式获取 ISuggestedActionCategorySet 包含具有适用操作的所有类别的。
|
|
GetSuggestedActionCategoriesAsync(ISuggestedActionCategorySet, ITextView, ITrackingPoint, ITrackingSpan, CancellationToken)
|
以异步方式获取 ISuggestedActionCategorySet 包含具有适用操作的所有类别的。
|
|
GetSuggestedActionsSources(ITextView, ITextBuffer)
|
获取给定和的的列表 ISuggestedActionsSource ITextView ITextBuffer 。
(继承自 ILightBulbBroker)
|
|
HasSuggestedActionsAsync(ISuggestedActionCategorySet, ITextView, CancellationToken)
|
以异步方式确定是否有任何 ISuggestedAction 与指定的中的当前插入符号位置相关联 ITextView 。
(继承自 ILightBulbBroker)
|
|
HasSuggestedActionsAsync(ISuggestedActionCategorySet, ITextView, ITrackingPoint, ITrackingSpan, CancellationToken)
|
以异步方式确定是否有任何在给定的 ISuggestedAction 中与给定的触发器点位置和范围相关联 ITextView 。
(继承自 ILightBulbBroker)
|
|
IsLightBulbSessionActive(ITextView)
|
确定对于指定的是否处于 ILightBulbSession 活动状态 ITextView 。
(继承自 ILightBulbBroker)
|
|
IsSupportedContentType(IContentType)
|
确定是否至少有一项 ISuggestedActionsSourceProvider 支持给定的内容类型。
(继承自 ILightBulbBroker)
|
|
TryExpandSession(ISuggestedActionCategorySet, ITextView)
|
尝试为指定的创建和展开 ILightBulbSession ITextView 。
如果会话已存在,则此方法会将其展开。
(继承自 ILightBulbBroker)
|
|
TryExpandSession(ISuggestedActionCategorySet, ITextView, ITrackingPoint, ITrackingSpan, Boolean)
|
尝试为指定的创建和展开 ILightBulbSession ITextView 。
(继承自 ILightBulbBroker)
|
适用于