ISuggestedActionCategoryRegistryService2 接口

定义

重要

此 API 不符合 CLS。

维护建议的操作类别集合的服务。

public interface class ISuggestedActionCategoryRegistryService2 : Microsoft::VisualStudio::Language::Intellisense::ISuggestedActionCategoryRegistryService
[System.CLSCompliant(false)]
public interface ISuggestedActionCategoryRegistryService2 : Microsoft.VisualStudio.Language.Intellisense.ISuggestedActionCategoryRegistryService
[<System.CLSCompliant(false)>]
type ISuggestedActionCategoryRegistryService2 = interface
    interface ISuggestedActionCategoryRegistryService
Public Interface ISuggestedActionCategoryRegistryService2
Implements ISuggestedActionCategoryRegistryService
属性
实现

注解

这是一个 MEF 组件部件,应使用以下属性导出: [Export (typeof (ISuggestedActionCategoryRegistryService2) ) ]

属性

AllCodeFixes

预定义的 ISuggestedActionCategorySet 包含代码修复类别。

(继承自 ISuggestedActionCategoryRegistryService)
AllCodeFixesAndRefactorings

一个预定义的 ISuggestedActionCategorySet ,其中包含所有代码修复和重构类别。

(继承自 ISuggestedActionCategoryRegistryService)
AllRefactorings

ISuggestedActionCategorySet包含所有重构类别的预定义。

(继承自 ISuggestedActionCategoryRegistryService)
Any

ISuggestedActionCategorySet包含任何类别的预定义。

(继承自 ISuggestedActionCategoryRegistryService)
Categories

获取所有类别(包括 "未知" 类别)的枚举。

(继承自 ISuggestedActionCategoryRegistryService)

方法

CreateSuggestedActionCategorySet(IEnumerable<String>)

创建新的 ISuggestedActionCategorySet 包含给定类别的。

(继承自 ISuggestedActionCategoryRegistryService)
CreateSuggestedActionCategorySet(String[])

创建新的 ISuggestedActionCategorySet 包含给定类别的。

(继承自 ISuggestedActionCategoryRegistryService)
GetCategory(String)

获取具有指定的 categoryNameISuggestedActionCategory 对象。

(继承自 ISuggestedActionCategoryRegistryService)
OrderCategoriesByPrecedence(ISuggestedActionCategorySet)

接受 ISuggestedActionCategorySet ISuggestedActionCategory ,并按从最高到最低的顺序对它们进行排序。

适用于