Partager via


Engine.PrepareTransformationRun Method

Prepares an IDebugTransformationRun object to run the template.

Namespace:  Microsoft.VisualStudio.TextTemplating
Assembly:  Microsoft.VisualStudio.TextTemplating.12.0 (in Microsoft.VisualStudio.TextTemplating.12.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

  • host
    Type: ITextTemplatingEngineHost

    The hosting environment that uses this engine.

  • runFactory
    Type: IDebugTransformationRunFactory

    The hosting environment for the transformation run.

Return Value

Type: IDebugTransformationRun

Implements

IDebugTextTemplatingEngine.PrepareTransformationRun(String, ITextTemplatingEngineHost, IDebugTransformationRunFactory)

.NET Framework Security

See Also

Reference

Engine Class

Microsoft.VisualStudio.TextTemplating Namespace