SuggestedActionCategoryDefinition Class
Visual Studio 2015
Defines a suggested action category.
Assembly: Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)
| Name | Description | |
|---|---|---|
![]() | SuggestedActionCategoryDefinition() | Initializes a new instance of SuggestedActionCategoryDefinition. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
Because you cannot subclass this type, you should use the [Export] attribute with no type.
internal sealed class Components { [Export] [Name(PredefinedSuggestedActionCategoryNames.ErrorFix)] // required [BaseDefinition(PredefinedSuggestedActionCategoryNames.CodeFix)] // zero or more BaseDefinitions are allowed private SuggestedActionCategoryDefinition errorFixSuggestedActionCategoryDefinition; ( other components ) }
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
