TemplatedCodeGenerator Class
Parses a file template to produce its output. Only a single generator is needed for any style of template as the custom code is handled with directive providers.
Assembly: Microsoft.VisualStudio.TextTemplating.VSHost.12.0 (in Microsoft.VisualStudio.TextTemplating.VSHost.12.0.dll)
Microsoft.VisualStudio.TextTemplating.VSHost::BaseCodeGenerator
Microsoft.VisualStudio.TextTemplating.VSHost::BaseCodeGeneratorWithSite
Microsoft.VisualStudio.TextTemplating.VSHost::BaseTemplatedCodeGenerator
Microsoft.VisualStudio.TextTemplating.VSHost::TemplatedCodeGenerator
| Name | Description | |
|---|---|---|
![]() | TemplatedCodeGenerator() |
| Name | Description | |
|---|---|---|
![]() | Dte | Get the DTE object(Inherited from BaseCodeGeneratorWithSite.) |
![]() | ErrorList | Get the Vs ErrorList object(Inherited from BaseCodeGeneratorWithSite.) |
![]() | FileNamespace | namespace for the file.(Inherited from BaseCodeGenerator.) |
![]() | GlobalServiceProvider | Provides a wrapper on the global service provider for Visual Studio(Inherited from BaseCodeGeneratorWithSite.) |
![]() | InputFilePath | file-path for the input file.(Inherited from BaseCodeGenerator.) |
![]() | SiteServiceProvider | Get a wrapper on the containing project system's Service provider <remarks> This is a limited service provider that can only reliably provide VxDTE::SID_SVSProjectItem SID_SVSWebReferenceDynamicProperties IID_IVsHierarchy SID_SVsApplicationSettings To get the global provider, call GetSite on IVSHierarchy or use the GlobalServiceProvider property </remarks>(Inherited from BaseCodeGeneratorWithSite.) |
![]() | TextTemplating | Get the TextTemplating service from Visual Studio(Inherited from BaseTemplatedCodeGenerator.) |
| Name | Description | |
|---|---|---|
![]() | callback | (Inherited from BaseTemplatedCodeGenerator.) |
| Name | Description | |
|---|---|---|
![]() ![]() | IVsSingleFileGenerator::DefaultExtension(String^) | (Inherited from BaseCodeGenerator.) |
![]() ![]() | IVsSingleFileGenerator::Generate(String^, String^, String^, array<IntPtr>^, UInt32, IVsGeneratorProgress^) | (Inherited from BaseCodeGenerator.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.





