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
content
Type: System.StringThe content of the templated file.
host
Type: ITextTemplatingEngineHostThe hosting environment that uses this engine.
runFactory
Type: IDebugTransformationRunFactoryThe hosting environment for the transformation run.
Return Value
Type: IDebugTransformationRun
Implements
IDebugTextTemplatingEngine.PrepareTransformationRun(String, ITextTemplatingEngineHost, IDebugTransformationRunFactory)
.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.