<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: T4 Template Design: Merged Template Class</title>
	<link>http://www.olegsych.com/2008/04/t4-template-design-merged-template-class/</link>
	<description>this.Write(code);</description>
	<pubDate>Tue, 18 Nov 2008 15:14:57 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
		<item>
		<title>By: Oleg Sych</title>
		<link>http://www.olegsych.com/2008/04/t4-template-design-merged-template-class/#comment-242</link>
		<dc:creator>Oleg Sych</dc:creator>
		<pubDate>Tue, 01 Jul 2008 12:09:13 +0000</pubDate>
		<guid>http://www.olegsych.com/2008/04/t4-template-design-merged-template-class/#comment-242</guid>
		<description>Gabriel,

You can call a template from a windows app using &#60;a href="http://www.olegsych.com/2008/04/t4-template-design-standalone-template/"Standalone Template&lt;/a&gt; design technique. To make parsing properties and their types easier, you can use the &lt;a href="http://www.olegsych.com/2008/04/t4-property-directive" rel="nofollow"&gt; directive&lt;/a&gt;. 

Implementing this would certainly make working with T4 very similar to CodeSmith. However, I question whether it would make working with templates &lt;i&gt;easier&lt;/i&gt;. With CodeSmith, you use special XML files to store these template property values. With T4, such as when using &lt;a href="http://www.olegsych.com/2008/04/t4-template-design-nested-template-class/" rel="nofollow"&gt;Nested Template Class&lt;/a&gt; technique, you specify and store property values in C# or Visual Basic code. I find working with C# code more straightforward than working with XML. 

Although for a template user, being able to specify template property values visually, in a property grid, is nice, implementing it requires a lot of extra work for the template developer. I haven't found time and justification for this investment yet. 

Oleg</description>
		<content:encoded><![CDATA[<p>Gabriel,</p>
<p>You can call a template from a windows app using &lt;a href=&#8221;http://www.olegsych.com/2008/04/t4-template-design-standalone-template/&#8221;Standalone Template design technique. To make parsing properties and their types easier, you can use the <a href="http://www.olegsych.com/2008/04/t4-property-directive" rel="nofollow"> directive</a>. </p>
<p>Implementing this would certainly make working with T4 very similar to CodeSmith. However, I question whether it would make working with templates <i>easier</i>. With CodeSmith, you use special XML files to store these template property values. With T4, such as when using <a href="http://www.olegsych.com/2008/04/t4-template-design-nested-template-class/" rel="nofollow">Nested Template Class</a> technique, you specify and store property values in C# or Visual Basic code. I find working with C# code more straightforward than working with XML. </p>
<p>Although for a template user, being able to specify template property values visually, in a property grid, is nice, implementing it requires a lot of extra work for the template developer. I haven&#8217;t found time and justification for this investment yet. </p>
<p>Oleg</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gabriel</title>
		<link>http://www.olegsych.com/2008/04/t4-template-design-merged-template-class/#comment-238</link>
		<dc:creator>gabriel</dc:creator>
		<pubDate>Mon, 30 Jun 2008 05:40:22 +0000</pubDate>
		<guid>http://www.olegsych.com/2008/04/t4-template-design-merged-template-class/#comment-238</guid>
		<description>Hi,
I really want to use t4 to speed up my development ,I think you have done a magnificient job with those small tutorials.
What about if I wanted to integrate with windows App? 
Example 
A propertyGrid + btnGenerate
Where a can specify class Name-Namespace -output folder etc...
Then press btnGenerate and this will pass all these values to the templates.
A tutorial on how to call the t4 template from a windows app and pass values would be fantastic!!!.

thanks
gabriel</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I really want to use t4 to speed up my development ,I think you have done a magnificient job with those small tutorials.<br />
What about if I wanted to integrate with windows App?<br />
Example<br />
A propertyGrid + btnGenerate<br />
Where a can specify class Name-Namespace -output folder etc&#8230;<br />
Then press btnGenerate and this will pass all these values to the templates.<br />
A tutorial on how to call the t4 template from a windows app and pass values would be fantastic!!!.</p>
<p>thanks<br />
gabriel</p>
]]></content:encoded>
	</item>
</channel>
</rss>
