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>⟨#@ ... #⟩</code>
| Instructions for the transformation engine
|-
| Standard control blocks
| <code>⟨# ... #⟩</code>
| Code to be executed (e.g., loops)
|-
| Expression control blocks
| <code>⟨#= ... #⟩</code>
| Expressions evaluated and converted to a string
|-
| Class feature control blocks
| <code>⟨#+ ... #⟩</code>
| Class and function definitions
|}
==Criticism==
|