Gets a default name for the template output. This can be overridden in your template to provide a suitable name for the output of the template based on the property values.

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

Syntax

C#
public virtual string GetFileName()
Visual Basic
Public Overridable Function GetFileName As String

Return Value

Type: String
A file name (E.G., output.txt).

See Also