Microsoft.VisualStudio.Modeling.ExtensionEnablement Namespace
The types in this namespace support customization of domain-specific languages.
For more information, see Writing Code to Customise a Domain-Specific Language.
Classes
Class | Description | |
---|---|---|
CommandExtensionAttribute | MefMetadata wrapper Attribute that declaratively declares the Command Group and position of a Command Extension in the Context Menu for a Dsl. | |
ExtensionEnablementConstants | ||
ExtensionRegistrar<T, TMetadataView> | Lazy Mef Importer class that : 1. Imports parts that export the type T. 2. Ability to provide a filter. | |
ExtensionRegistrarBase<T, TMetadataView> | The base class for regular extension registrar and special case for validation registrar | |
ValidationExtensionRegistrar | Base class for an ExtensionRegistar that can register Validation Extensions |
Interfaces
Interface | Description | |
---|---|---|
ICommandExtension | Implement and export this interface from a MEF extension to provide a menu command for modeling diagrams. | |
IExtensibilityLogger | Logging interface for extension registrars. | |
ILinkedUndoContext | Use BeginTransaction to group a sequence of operations in one transaction. | |
ILinkedUndoTransaction | A transaction allows you to group together operations on the UML model store, so that if any of them fails, the whole group is rolled back. After the transaction is committed, the user can undo the whole group with a single undo command. | |
IMenuCommand | Determines whether the command appears on the menu. |