Text Template Transformation Toolkit: Difference between revisions

Content deleted Content added
m References: clean up + adding portal
Added syntax and description of T4 controls
Line 8:
 
T4 templating is also supported in [[MonoDevelop]].
 
==Controls==
There are four types of controls handed by the T4 template transformation engine.
 
{| class="wikitable" style="font-size: 0.9em; margin-left: 1em"
|-
! Name
! Syntax
! Description
|-
| Directives
| <code>&lang;#@&nbsp;...&nbsp;#&rang;</code>
| Instructions for the transformation engine
|-
| Standard control blocks
| <code>&lang;#&nbsp;...&nbsp;#&rang;</code>
| Code to be executed (e.g., loops)
|-
| Expression control blocks
| <code>&lang;#=&nbsp;...&nbsp;#&rang;</code>
| Expressions evaluated and converted to a string
|-
| Class feature control blocks
| <code>&lang;#+&nbsp;...&nbsp;#&rang;</code>
| Class and function definitions
|}
 
==Criticism==