This project is read-only.

TextTemplate 2.0

Rating: No reviews yet
Downloads: 691
Change Set: 2b2a3c724a08
Released: Feb 9, 2011
Updated: Feb 9, 2011 by lassevk
Dev status: Stable Help Icon

Recommended Download

Application TextTemplate 2.0 Binaries
application, 31K, uploaded Feb 9, 2011 - 497 downloads

Other Available Downloads

Source Code TextTemplate 2.0 Source
source code, 313K, uploaded Feb 9, 2011 - 194 downloads

Release Notes

This release contains major new features, as well as all bugfixes that went into 1.1.

New features
  • Generic Template<T> class, for passing type-safe parameters to template execution
  • Ability to "unwrap" parameters, exposing the public properties as parameters instead of the wrapper parameter
  • {<%+} code block to add code outside of the generator method, in order to be able to add extra methods and nested classes

Breaking changes
  • Async methods have been removed

Issues fixed for this release
  • Invalid/unknown directives did not throw an exception during template parsing. (also in 1.1)
  • When {<%+} blocks have been started, the programmer cannot switch back to normal blocks, {<%} and {<%=} without having them ordered before the {<%+} blocks.
  • A percentage-sign on its own outside a code block breaks the template parser. (also in 1.1)
  • A less-than sign on its own outside a code block breaks the template parser. (also in 1.1)

  • ReSharper settings changed to avoid too much code reordering and reformatting to avoid merge conflicts during parallel development. (also in 1.1)
  • Introduced TemplateSyntaxException to replace InvalidOperationException for some problems related to template parsing. (also in 1.1)

  • Sandcastle project files for building online documentation. (also in 1.1)

Reviews for this release

No reviews yet for this release.