<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.dotnetzone.gr:443/cs/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Πρώτα Βήματα - Desktop Applications</title><link>https://www.dotnetzone.gr:443/cs/forums/80/ShowForum.aspx</link><description>Θέματα για όσους φτιάχνουν τα πρώτα τους Desktop Applications σε .NET Framework</description><dc:language>el</dc:language><generator>CommunityServer 2.1 SP3 (Build: 20423.1)</generator><item><title>Απ: Attributes</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/51885.aspx</link><pubDate>Sun, 21 Jun 2009 02:07:24 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:51885</guid><dc:creator>tolisss</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/51885.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=80&amp;PostID=51885</wfw:commentRss><description>&lt;p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:normal;background:white;"&gt;&lt;span style="font-size:10.0pt;font-family:'Tahoma','sans-serif';mso-fareast-font-family:'Times New Roman';color:black;mso-fareast-language:EL;"&gt;Με τα attributes χαρακτηρίζεις ένα αντικείμενο(classes,method etc) με σταθερές
τιμές(δεν αλλάζει η συμπεριφορά/μορφή του αντικειμένου πρέπει να γράψεις κώδικα
που θα διαβάζει τα attributes και θα κανείς κάτι με βάση αυτά)&amp;nbsp;&amp;nbsp;ενώ
με το inheritance μπορείς να αλλάξεις τη μορφή ενός αντικειμένου πχ από
customer να το κάνεις customer και user αν από ο customer κάνει inherit το user&lt;/span&gt;&lt;/p&gt;

&lt;p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:normal;background:white;"&gt;&lt;span style="font-size:10.0pt;font-family:'Tahoma','sans-serif';mso-fareast-font-family:'Times New Roman';color:black;mso-fareast-language:EL;"&gt;Φαντάξου ότι έχεις ένα attribute [MakeMeUser] και κανείς decorate το
customer τότε δεν θα αλλάξει η συμπεριφορά του customer πρέπει κάποιος να γράψει κώδικα
για να γίνει αυτό. Τα μεγάλα framework που λειτουργούν μέσα σε κάποιο context κάνουν
ακριβώς αυτό. Εμπεριέχουν τον κώδικα που θα χαρακτηρίσει το αντικείμενο σε
shared libraries και το context to οποίο βρίσκονται μέσα ξέρει ποτέ να κάνει
apply το χαρακτηρισμό αυτό&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class="MsoNormal"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;</description></item><item><title>Απ: Attributes</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/51884.aspx</link><pubDate>Sun, 21 Jun 2009 01:43:37 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:51884</guid><dc:creator>Τάσκος Γιώργος</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/51884.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=80&amp;PostID=51884</wfw:commentRss><description>&lt;P&gt;Ξεκίνα καλύτερα απο &lt;A href="http://msdn.microsoft.com/en-us/library/5x6cd29c(VS.71).aspx"&gt;εδώ&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description></item><item><title>Attributes</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/51883.aspx</link><pubDate>Sun, 21 Jun 2009 00:08:59 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:51883</guid><dc:creator>Αλέξανδρος Δημητρίου</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/51883.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=80&amp;PostID=51883</wfw:commentRss><description>&lt;P&gt;Παιδιά καλησπέρα.. Εάν έχω καταλάβει σωστά ο σκοπός των attributes είναι να χαρακτηρίζουν τις κλάσεις με ένα τύπο κλάσης?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Δηλαδή ποια η διαφορά στην χρήση των attributes με την χρήση του inherits?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description></item></channel></rss>