DXCore Services – Feature
June 13th, 2012
The Feature DXCore service provides access to the Feature engine (the What Happened window). The features list is available on the Core | Features options page in the Options Dialog. The engine also collects features execution count statistics on the Core | Features Statistics options page.
Methods of this service:
Name |
Description |
AddFeature(String) | Add a new feature specified by its name into the list of features. |
AddShortcut(String) | Add a new shortcut specified by its key combination into the list of features. |
AddTemplate(String) | Add a new code template into the list of features. |
CanExecuteFeature(IFeature) | Returns true if the specified feature is not disabled by the Engine and can be performed. |
CanExecuteShortcut(ShortcutBase, ShortcutBase, String, String, String) | Returns true if the specified shortcut is not disabled by the Engine and can be handled. |
CanExecuteTemplate(String, String, String, String) | Returns true if the specified template is not disabled by the Engine and can be expanded. |
Disable(String) | Disables the specified feature. |
Enable(String) | Enables the specified feature. |
GetFeatureState(String) | Returns the state of the specified feature (enabled, disabled or missing). |
GetRequestCount(String) | Returns the number of requests of the specified feature. |
IncreaseQuery(ProviderBase) | Increases the execution count of the specified feature. |
RemoveFeature(String) | Removes the feature from the Features engine list. |
ShowHintWindow(ActionWindowHint) | Shows the Feature UI (What Happened) hint. |
VSBindingMatchesFirstKey (ShortcutBase) | Returns true if the Visual Studio key binding exists with the same key combination as the passed in shortcut. |