Versions Compared

Key

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

The CodeTemplate.Render method is where CodeSmith does Generator does the actual work of combining metadata with your template to create the template's output. You can override this method if you want to modify the way that CodeSmith ultimately Generator ultimately handles that output. For example, overriding this event allows you to write your template's output to multiple destinations instead of just to the default output window. Here's a template that outputs some text to two files at the same time, as well as to CodeSmith's default output window:

...