Microsoft.VisualStudio.TextTemplating.Modeling Namespace


This namespace provides text transformation facilities related to UML models and domain-specific languages. ModelBusEnabledTextTransformation provides text templates with access to the Visual Studio ModelBus service.


To access Visual Studio ModelBus in the code of a text template, specify this class in the inherits attribute of the template directive of the template, and set the hostspecific attribute to true. In the template code, you can get the SModelBus and SComponentModel services.


Maintains a cache of Stores during a T4 user session. Each Store is identified by a key string.


Creates and manages Model Bus Adapters representing Domain-Specific Language models inside a text templating AppDomain in Visual Studio.

Return to top