Engine Class
The text template transformation engine.
Namespace: Microsoft.VisualStudio.TextTemplating
Assembly: Microsoft.VisualStudio.TextTemplating (in microsoft.visualstudio.texttemplating.dll)
Microsoft.VisualStudio.TextTemplating Namespace
ITextTemplatingEngineHost
Generating Artifacts Using Text Templates
Assembly: Microsoft.VisualStudio.TextTemplating (in microsoft.visualstudio.texttemplating.dll)
The text template transformation process takes a text template file as the input, and produces a new text file as the output. The text template transformation engine component controls the process, and interacts with a text template transformation host and one or more text template directive processors to complete the process. For more information, see Generating Artifacts Using Text Templates.
The following example demonstrates how to create an instance of the Engine, and calling ProcessTemplate to transform a text template.
This code example is part of a larger example provided for the ITextTemplatingEngineHost interface.
Tasks
Walkthrough: Creating a Custom Text Template HostReference
Engine MembersMicrosoft.VisualStudio.TextTemplating Namespace
ITextTemplatingEngineHost
Other Resources
Text Template HostsGenerating Artifacts Using Text Templates