This documentation is archived and is not being maintained.

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.

Public classModelBusEnabledTextTransformationTo 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.
Public classSessionStoreCacheMaintains a cache of Stores during a T4 user session. Each Store is identified by a key string.
Public classVsTextTemplatingModelingAdapterManagerCreates and manages Model Bus Adapters representing Domain-Specific Language models inside a text templating AppDomain in Visual Studio.