Content deleted Content added
m WP:CHECKWIKI error fix for #64. Do general fixes if a problem exists. - using AWB (9643) |
Bunnyhop11 (talk | contribs) fix link to c |
||
Line 1:
[[Microsoft]]'s '''Text Template Transformation Toolkit''' (usually referred to as "T4") is a template based text generation framework included with [[Visual Studio]]. T4 source files are usually denoted by the file extension ".tt".
T4 is used by [[Developer (software)|developers]] as part of an application or tool [[Framework (computer science)|framework]] to automate the creation of text files with a variety of parameters. These text files can ultimately be any text format, such as code (for example [[C Sharp (programming language)|C#]]), [[XML template engine|XML]], HTML or [[XAML Browser Applications|XAML]].
T4 uses a custom template format which can contain .NET code and string literals in it, this is parsed by the T4 command line tool into .NET code, compiled and executed. The output of the executed code is the text file generated by the template.<ref name="Templatesza">{{citation|author=Web Templates|title=Website templates|url=http://www.websitetemplates.org.za/website-templates-type/|accessdate=19 November 2013|year=2013|publisher=Website Templates South Africa|isbn=978-1-4251-3374-0}}</ref> T4 can also be completely run within the .NET applications via the use of the TextTransformation class which eliminates the need for the end user to have Visual Studio installed.
|