Renders the template output to a file using a merge strategy.

Namespace: CodeSmith.Engine
Assembly: CodeSmith.Engine (in CodeSmith.Engine.dll) Version: 6.0.0.0 (7.0.0.15127)

Syntax

C#
public void RenderToFile(
	OutputFile outputFile,
	string sourcePath,
	IMergeStrategy strategy
)
Visual Basic
Public Sub RenderToFile ( 
	outputFile As OutputFile,
	sourcePath As String,
	strategy As IMergeStrategy
)

Parameters

outputFile
Type: CodeSmith.Engine..::..OutputFile
The output file.
sourcePath
Type: System..::..String
The source file to base the merge on.
strategy
Type: CodeSmith.Engine..::..IMergeStrategy
The merge strategy to use.

See Also