This documentation is archived and is not being maintained.
ITextTemplating Interface
Visual Studio 2012
The principal interface of the text template transformation service in Visual Studio, STextTemplating.
Assembly: Microsoft.VisualStudio.TextTemplating.Interfaces.10.0 (in Microsoft.VisualStudio.TextTemplating.Interfaces.10.0.dll)
The ITextTemplating type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | BeginErrorSession | Sets up/resets the system that causes only unique errors to be logged. Also creates an implicit code generation session. |
![]() | EndErrorSession | Finishes a session using the system that causes only unique errors to be logged. |
![]() | PreprocessTemplate | |
![]() | ProcessTemplate |
ITextTemplating tt = ServiceProvider.GetService(typeof(STextTemplating)) as ITextTemplating;
For more information, see Customizing T4 Text Transformation.
Show:
