ITextTemplatingEngineHost Members

Include Protected Members
Include Inherited Members

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

The ITextTemplatingEngineHost type exposes the following members.

Methods

 

Name

Description

Public method

GetHostOption

Called by the Engine to ask for the value of a specified option. Return null if you do not know.

Public method

LoadIncludeText

Acquires the text that corresponds to a request to include a partial text template file.

Public method

LogErrors

Receives a collection of errors and warnings from the transformation engine.

Public method

ProvideTemplatingAppDomain

Provides an application domain to run the generated transformation class.

Public method

ResolveAssemblyReference

Allows a host to provide additional information about the location of an assembly.

Public method

ResolveDirectiveProcessor

Returns the type of a directive processor, given its friendly name.

Public method

ResolveParameterValue

Resolves the value of a parameter for a directive processor if the parameter is not specified in the template text.

Public method

ResolvePath

Allows a host to provide a complete path, given a file name or relative path.

Public method

SetFileExtension

Tells the host the file name extension that is expected for the generated text output.

Public method

SetOutputEncoding

Tells the host the encoding that is expected for the generated text output.

Top

Properties

 

Name

Description

Public property

StandardAssemblyReferences

Gets a list of assembly references.

Public property

StandardImports

Gets a list of namespaces.

Public property

TemplateFile

Gets the path and file name of the text template that is being processed.

Top

See Also

Reference

ITextTemplatingEngineHost Interface

Microsoft.VisualStudio.TextTemplating Namespace