<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.lhotka.net/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>Search results matching tag 'virtual method'</title><link>http://forums.lhotka.net/search/SearchResults.aspx?s=5&amp;o=DateDescending&amp;tag=virtual+method&amp;orTags=0</link><description>Search results matching tag 'virtual method'</description><dc:language>en-US</dc:language><generator>CommunityServer 2008.5 SP3 (Build: 36.8414)</generator><item><title>About &amp;quot;protected virtual void DataPortal_Fetch(object criteria)&amp;quot; in ReadOnlyListBase</title><link>http://forums.lhotka.net/forums/p/11356/52738.aspx#52738</link><pubDate>Mon, 14 May 2012 04:40:44 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:52738</guid><dc:creator>foxhard</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have see several examples of implementation of ReadOnlyList classes. But the fetch method is like this:&lt;/p&gt;
&lt;p&gt;private void DataPortal_Fetch(SomeCriteriaClass criteria)&lt;/p&gt;
&lt;p&gt;{...}&lt;/p&gt;
&lt;p&gt;But, if inside ReadOnlyListBase there is the method:&amp;nbsp;&amp;quot;protected virtual void DataPortal_Fetch(object criteria)&amp;quot; . Is there some performance issue if I use override method inside my inplementation like this:&lt;/p&gt;
&lt;p&gt;protected override DataPortal_Fetch(object criteria)&lt;/p&gt;
&lt;p&gt;{&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;SomeCriteriaClass someCriteria = (SomeCriteriaClass)criteria;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>