Microsoft.VisualStudio.TextTemplating Namespace

Classes

AssemblyCacheMonitor

Class to monitor the state of the assembly cache

DirectiveProcessor

Base class for a concrete DirectiveProcessor

DirectiveProcessorAttribute
DirectiveProcessorException

Exception class for Directive Processors

EncodingHelper

Helper class to get the encoding of a file from its BOM

Engine

Text templating engine

ParameterDirectiveProcessor

Directive processor to route simple serializable parameters from callers or the host to the template.

RequiresProvidesDirectiveProcessor

Base class for a directive processor that follows the requires, provides pattern.

ServiceProviderExtensions

Class that contains extensions to IServiceProvider relevant to T4 templates.

ShadowCopyMonitor

Class to monitor the state of shadow copied assemblies for use by hosts

SupportedDirectiveAttribute
TextTemplatingSession

Trivial implementation of text transformation session interface

TextTransformation

Base class for generated text transformations

ToStringHelper

Utility class to produce culture-oriented representation of an object as a string.

TransformedAllTemplatesEventArgs
TransformingAllTemplatesEventArgs

Interfaces

IDebugTextTemplatingEngine
IDebugTransformationRun
IDebugTransformationRunFactory
IDirectiveProcessor

Interface for a directive processor.

IDirectiveProcessorMetadata

Metadata provided by DirectiveProcessors. Hosts that want to import DPs via MEF can consume this standard metadata.

IRecognizeHostSpecific

(Optional) interface that DirectiveProcessors can implement if they care about the value of the HostSpecific flag when they are generating code.

ITextTemplatingEngine

The interface for the text template transformation engine.

ITextTemplatingEngineHost

The interface for the host that transforms text templates. This is available to directive processors and can also be accessed by text templates.

ITextTemplatingOrchestrator
ITextTemplatingSession

Can be used to transmit information from a directive processor into a text template.

ITextTemplatingSessionHost

Implemented by a text templating host, enabling callers to obtain an object denoting the current session. A session represents series of executions of text templates. The session object can be used to pass information from the host into the code of the text template.