<?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>.NET Framework</title><link>https://www.dotnetzone.gr:443/cs/forums/14/ShowForum.aspx</link><description>Θέματα για threading, remoting, reflection, exception handling, security, regex κλπ.</description><dc:language>el</dc:language><generator>CommunityServer 2.1 SP3 (Build: 20423.1)</generator><item><title>Απ: PropertyInfo, MethodInfo, Type is Static;</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/46727.aspx</link><pubDate>Fri, 05 Dec 2008 21:48:38 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:46727</guid><dc:creator>Nassos.NET</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/46727.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=14&amp;PostID=46727</wfw:commentRss><description>&lt;P&gt;Φίλε Νίκο,&lt;/P&gt;
&lt;P&gt;Σε Ευχαριστώ, το GetGetMethod().IsStatic το βρήκα, το type ούτε που το σκέφτηκα!!&lt;/P&gt;
&lt;P&gt;thnx&lt;/P&gt;
&lt;P&gt;PS. CU@11/12/08 &lt;img src="http://www.dotnetzone.gr/cs/emoticons/emotion-5.gif" alt="Wink" /&gt;&lt;/P&gt;</description></item><item><title>Απ: PropertyInfo, MethodInfo, Type is Static;</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/46726.aspx</link><pubDate>Fri, 05 Dec 2008 21:44:36 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:46726</guid><dc:creator>PALLADIN</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/46726.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=14&amp;PostID=46726</wfw:commentRss><description>&lt;FONT size=1&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT face="MS Sans Serif"&gt;&lt;FONT face="MS Sans Serif"&gt;Καλησπέρα Νάσο...&lt;/P&gt;
&lt;P&gt;Εάν έχεις ένα reference (&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face=Tahoma&gt;&lt;FONT face=Tahoma&gt;&lt;SPAN&gt;MethodInfo&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;FONT face="MS Sans Serif"&gt;&lt;FONT face="MS Sans Serif"&gt;&lt;SPAN&gt;, PropertyInfo) τότε μπορείς να γράψεις τα εξής&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="MS Sans Serif"&gt;&lt;FONT face="MS Sans Serif"&gt;&lt;SPAN&gt;&lt;SPAN style="FONT-WEIGHT:normal;FONT-SIZE:11px;COLOR:black;FONT-FAMILY:Courier New;BACKGROUND-COLOR:transparent;"&gt;methodInfo.IsStatic&lt;BR&gt;propertyInfo.GetGetMethod().IsStatic&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;FONT face="MS Sans Serif"&gt;&lt;FONT face="MS Sans Serif"&gt;&lt;SPAN&gt;&lt;FONT face="MS Sans Serif"&gt;&lt;FONT face="MS Sans Serif"&gt;&lt;SPAN&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="MS Sans Serif"&gt;&lt;FONT face="MS Sans Serif"&gt;&lt;SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;
&lt;P&gt;&lt;FONT face=Tahoma&gt;&lt;FONT face=Tahoma&gt;&lt;SPAN&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;FONT face="MS Sans Serif"&gt;&lt;FONT face="MS Sans Serif"&gt;&lt;SPAN&gt;Τώρα για την περίπτωση του Type, υποθέτω ότι είναι static class... και σε επίπεδο IL περιγράφεται ως abstract και sealed... οποτε
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;FONT face=Tahoma&gt;&lt;FONT face=Tahoma&gt;&lt;SPAN&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;FONT face="MS Sans Serif" size=1&gt;&lt;FONT face="MS Sans Serif" size=1&gt;&lt;SPAN&gt;&lt;FONT size=2&gt;&lt;SPAN style="FONT-WEIGHT:normal;FONT-SIZE:11px;COLOR:black;FONT-FAMILY:Courier New;BACKGROUND-COLOR:transparent;"&gt;&lt;SPAN style="FONT-WEIGHT:normal;FONT-SIZE:11px;COLOR:blue;FONT-FAMILY:Courier New;BACKGROUND-COLOR:transparent;"&gt;bool&lt;/SPAN&gt; isStatic &lt;SPAN style="FONT-WEIGHT:normal;FONT-SIZE:11px;COLOR:red;FONT-FAMILY:Courier New;BACKGROUND-COLOR:transparent;"&gt;=&lt;/SPAN&gt; type.IsAbstact &amp;amp;&amp;amp; type.IsSealed &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;Ελπίζω να βοήθησα&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;</description></item><item><title>PropertyInfo, MethodInfo, Type is Static;</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/46724.aspx</link><pubDate>Fri, 05 Dec 2008 19:54:44 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:46724</guid><dc:creator>Nassos.NET</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/46724.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=14&amp;PostID=46724</wfw:commentRss><description>&lt;P&gt;Καλησπέρα σε Όλους,&lt;/P&gt;
&lt;P&gt;Έχω ένα propertyInfo ή methodInfo και θέλω να μάθω αν είναι Static, επίσης το ίδιο θέλω να μάθω και όταν έχω ένα Type.&lt;/P&gt;
&lt;P&gt;PS. δεν με βολέυει το GetProperty, GetMethods με bindingFlags γιατί τα object είναι στο tag ενός Tree.&lt;/P&gt;
&lt;P&gt;Ευχαριστώ&lt;/P&gt;
&lt;P&gt;Νάσος&lt;/P&gt;</description></item></channel></rss>