Engine.PrepareTransformationRun Method
Prepares an IDebugTransformationRun object to run the template.
Namespace: Microsoft.VisualStudio.TextTemplating
Assembly: Microsoft.VisualStudio.TextTemplating.11.0 (in Microsoft.VisualStudio.TextTemplating.11.0.dll)
Syntax
'Declaration
Public Function PrepareTransformationRun ( _
content As String, _
host As ITextTemplatingEngineHost, _
runFactory As IDebugTransformationRunFactory _
) As IDebugTransformationRun
public IDebugTransformationRun PrepareTransformationRun(
string content,
ITextTemplatingEngineHost host,
IDebugTransformationRunFactory runFactory
)
public:
virtual IDebugTransformationRun^ PrepareTransformationRun(
String^ content,
ITextTemplatingEngineHost^ host,
IDebugTransformationRunFactory^ runFactory
) sealed
abstract PrepareTransformationRun :
content:string *
host:ITextTemplatingEngineHost *
runFactory:IDebugTransformationRunFactory -> IDebugTransformationRun
override PrepareTransformationRun :
content:string *
host:ITextTemplatingEngineHost *
runFactory:IDebugTransformationRunFactory -> IDebugTransformationRun
public final function PrepareTransformationRun(
content : String,
host : ITextTemplatingEngineHost,
runFactory : IDebugTransformationRunFactory
) : IDebugTransformationRun
Parameters
content
Type: StringThe content of the templated file.
host
Type: Microsoft.VisualStudio.TextTemplating.ITextTemplatingEngineHostThe hosting environment that uses this engine.
runFactory
Type: Microsoft.VisualStudio.TextTemplating.IDebugTransformationRunFactoryThe hosting environment for the transformation run.
Return Value
Type: Microsoft.VisualStudio.TextTemplating.IDebugTransformationRun
Implements
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.