Udostępnij za pośrednictwem


ISuggestedActionCategoryRegistryService2 Interface

Definition

Important

This API is not CLS-compliant.

The service that maintains the collection of suggested action categories.

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

Remarks

This is a MEF component part, and should be exported with the following attribute: [Export(typeof(ISuggestedActionCategoryRegistryService2))]

Properties

AllCodeFixes

A predefined ISuggestedActionCategorySet containing code fixes category.

(Inherited from ISuggestedActionCategoryRegistryService)
AllCodeFixesAndRefactorings

A predefined ISuggestedActionCategorySet containing all code fixes and refactorings category.

(Inherited from ISuggestedActionCategoryRegistryService)
AllRefactorings

A predefined ISuggestedActionCategorySet containing all refactorings category.

(Inherited from ISuggestedActionCategoryRegistryService)
Any

A predefined ISuggestedActionCategorySet containing any category.

(Inherited from ISuggestedActionCategoryRegistryService)
Categories

Gets an enumeration of all categories, including the "unknown" category.

(Inherited from ISuggestedActionCategoryRegistryService)

Methods

CreateSuggestedActionCategorySet(IEnumerable<String>)

Creates a new ISuggestedActionCategorySet containing given categories.

(Inherited from ISuggestedActionCategoryRegistryService)
CreateSuggestedActionCategorySet(String[])

Creates a new ISuggestedActionCategorySet containing given categories.

(Inherited from ISuggestedActionCategoryRegistryService)
GetCategory(String)

Gets the ISuggestedActionCategory object with the specified categoryName.

(Inherited from ISuggestedActionCategoryRegistryService)
OrderCategoriesByPrecedence(ISuggestedActionCategorySet)

Accepts an ISuggestedActionCategorySet of ISuggestedActionCategorys and sorts them in order from highest to lowest precedence.

Applies to