Renders the template output to a String.

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

Syntax

C#
public string RenderToString(
	string sourcePath,
	IMergeStrategy strategy
)
Visual Basic
Public Function RenderToString ( 
	sourcePath As String,
	strategy As IMergeStrategy
) As String

Parameters

sourcePath
Type: System..::..String
strategy
Type: CodeSmith.Engine..::..IMergeStrategy

Return Value

Type: String

See Also