t4 templating

These include files (with samples) worry about reading files in the current project, reading direct sql / sprocs and files (tsv) and Grouping them by a given columnIndex

Tips

Host.ResolvePath("Data.txt")

Warnings

//Mention language (at top of file / include file)
<#@ template language="C#v3.5" debug="True" hostspecific="True" #>

//Add assemblies and import namespaces
<#@ assembly name="System.Core"#>
<#@ import namespace="System.Linq"#>

//Include files
<#@ include file="Project.ttinclude" #>

//Inside ttinclude files, Make sure to add a + inside
 the final code block (after includes, imports etc)
<#+
  //helper methods
#>


Warning: count(): Parameter must be an array or an object that implements Countable in /home/cselian/public_html/blog/wp-includes/class-wp-comment-query.php on line 405

Leave a Comment