Stats

71 Contributors: 2
2016-08-01
Licensed under: CC-BY-SA

Not affiliated with Stack Overflow
Rip Tutorial: info@zzzprojects.com

Download eBook

T4 Code Generation

Download c# eBook

Syntax

  • T4 Syntax
  • <#@...#> //Declaring properties including templates, assemblies and namespaces and the language the template uses
  • Plain Text //Declaring text that can be looped through for the files generated
  • <#=...#> //Declaring Scripts
  • <#+...#> //Declaring scriptlets
  • <#...#> //Declaring text blocks

Related Examples