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: String

    The content of the templated file.

Return Value

Type: Microsoft.VisualStudio.TextTemplating.IDebugTransformationRun

Implements

IDebugTextTemplatingEngine.PrepareTransformationRun(String, ITextTemplatingEngineHost, IDebugTransformationRunFactory)

.NET Framework Security

See Also

Reference

Engine Class

Microsoft.VisualStudio.TextTemplating Namespace