Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

Within a template, you can specify the default output file name by overriding the GetFileName method. For example, if your C# language template contains a property named ClassName, you might include this code to set the default output file name:

Code Block
languagecsharp
<script runat="template">

...


public override string GetFileName()

...

 {
    return ClassName + ".cs";

...


}

...


</script>