<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Rearranging attributes and properties for C#"]]></title>
		<link>http://forums.visual-paradigm.com/posts/50.html</link>
		<description><![CDATA[Latest messages posted in the topic "Rearranging attributes and properties for C#"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Rearranging attributes and properties for C#</title>
				<description><![CDATA[ This article describe how to reorder the attributes and properties that appear in C# code.<br> <br> <span style="font-size: 18px; line-height: normal"><font color='orange'>Original</font></span><br> &#36;{attribute1}<br> &#36;{property1}<br> <br> &#36;{attribute2}<br> &#36;{property2}<br> <br> ...<br> <br> <span style="font-size: 18px; line-height: normal"><font color='orange'>Updated</font></span><br> &#36;{attribute1}<br> &#36;{attribute2}<br> <br> &#36;{property1}<br> &#36;{property2}<br> <br> ...<br> <br> <span style="font-size: 18px; line-height: normal"><font color='orange'>Changes</font></span><br> Remove the following content from &#36;{vp-suite}/resources/instantgenerator/csharp/attribute.vm<br> <br>  <table class="quote-table" align="center">
		<tr>
		<td class="quote"> <br> ###################### Property Start ######################<br> #if (&#36;attribute.getProperty())<br> 	#set(&#36;property = &#36;attribute.getProperty())<br> 	#parse("&#36;template-path/property.vm")<br> #end<br> ###################### Property End ######################<br>  &nbsp;
		</td>
		</tr>
		</table><br> <br> Insert the following content to &#36;{vp-suite}/resources/instantgenerator/csharp/class.vm, between Attribute End and Operation Start<br> <br> <table class="quote-table" align="center">
		<tr>
		<td class="quote"><br> ###################### Property Start ######################<br> #if (&#36;class.attributeCount()>0)<br> 	#foreach (&#36;attribute in &#36;class.attributeIterator())<br> 		#if (&#36;attribute.getProperty())<br> 			#set(&#36;property = &#36;attribute.getProperty())<br> 			#parse("&#36;template-path/property.vm")<br> 		#end<br> 	#end<br> <br> #end<br> ###################### Property End ######################<br> &nbsp;
		</td>
		</tr>
		</table><br> <br> Enjoy!<br> <br> Peter]]></description>
				<guid isPermaLink="true">http://forums.visual-paradigm.com/posts/2267#17927.html</guid>
				<link>http://forums.visual-paradigm.com/posts/2267#17927.html</link>
				<pubDate><![CDATA[Thu, 21 Jun 2007 15:21:47]]></pubDate>
				<author><![CDATA[ peter_v]]></author>
			</item>
	</channel>
</rss>