<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : BaseOperation Replacement</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2012 : BaseOperation Replacement</description>
  <pubDate>Wed, 10 Jun 2026 04:58:12 -700</pubDate>
  <lastBuildDate>Mon, 09 Dec 2013 08:36:11 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=4622</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>BaseOperation Replacement :   We were trying to avoid having...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4622&amp;PID=17298#17298</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1402" rel="nofollow">mitchell_bu</a><br /><strong>Subject:</strong> 4622<br /><strong>Posted:</strong> 09-Dec-2013 at 8:36am<br /><br />We were trying to avoid having to rework our code to use the new async/await API, but it looks like that is what we should do.  Thanks for the help.]]>
   </description>
   <pubDate>Mon, 09 Dec 2013 08:36:11 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4622&amp;PID=17298#17298</guid>
  </item> 
  <item>
   <title>BaseOperation Replacement : Hmm. This is quite ugly, but might...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4622&amp;PID=17295#17295</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 4622<br /><strong>Posted:</strong> 06-Dec-2013 at 2:33pm<br /><br />Hmm.&nbsp; This is quite ugly, but might work: <DIV>&nbsp;</DIV><DIV>public interface ISomeInterface&lt;TArgs, TOp&gt; </DIV><DIV>where TArgs: AsyncEventArgs </DIV><DIV>where U: BaseOperation&lt;TArgs, TOp&gt; {</DIV><DIV>&nbsp;&nbsp; BaseOperation&lt;TArgs, TOp&gt; Operation { get; }</DIV><DIV>}</DIV><DIV>&nbsp;</DIV><DIV>public class LoginWrapper : ISomeInterface&lt;LoginEventArgs, LoginOperation&gt; {</DIV><DIV>&nbsp; public BaseOperation&lt;LoginEventArgs, LoginOperation&gt; Operation { get { .... }}</DIV><DIV>}</DIV><DIV>&nbsp;</DIV><DIV><DIV>public class QueryWrapper : ISomeInterface&lt;EntityQueriedEventArgs, EntityQueryOperation&gt; {</DIV><DIV>&nbsp; public BaseOperation&lt;EntityQueriedEventArgs, EntityQueryOperation { get { .... }}</DIV><DIV>}</DIV><DIV>&nbsp;</DIV><DIV>If not, you may need some sort of wrapper class over the DF *Operation classes to get the behavior you need.</DIV><DIV>&nbsp;</DIV><DIV>I'll put a plug in for the new async/await API too.&nbsp; I know it can be work migrating to it, but it really does simplify one's code quite a bit.</DIV></DIV>]]>
   </description>
   <pubDate>Fri, 06 Dec 2013 14:33:42 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4622&amp;PID=17295#17295</guid>
  </item> 
  <item>
   <title>BaseOperation Replacement :   I thought of that. But IBaseOperation...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4622&amp;PID=17294#17294</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1402" rel="nofollow">mitchell_bu</a><br /><strong>Subject:</strong> 4622<br /><strong>Posted:</strong> 06-Dec-2013 at 1:49pm<br /><br />I thought of that.&nbsp; But IBaseOperation doesn't define the Completed event handler, which we use.]]>
   </description>
   <pubDate>Fri, 06 Dec 2013 13:49:24 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4622&amp;PID=17294#17294</guid>
  </item> 
  <item>
   <title>BaseOperation Replacement : Can you use IBaseOperation instead...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4622&amp;PID=17293#17293</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 4622<br /><strong>Posted:</strong> 06-Dec-2013 at 1:44pm<br /><br />Can you use IBaseOperation instead of BaseOperation in your interface?&nbsp; It might be a bit uglier than before, but the various sub-types of BaseOperation&lt;TArgs, TOp&gt; all implement this.<DIV></DIV>]]>
   </description>
   <pubDate>Fri, 06 Dec 2013 13:44:14 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4622&amp;PID=17293#17293</guid>
  </item> 
  <item>
   <title>BaseOperation Replacement :   We&amp;#039;re currently in the...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4622&amp;PID=17292#17292</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1402" rel="nofollow">mitchell_bu</a><br /><strong>Subject:</strong> 4622<br /><strong>Posted:</strong> 06-Dec-2013 at 10:33am<br /><br />We're currently in the process of migrating from DevForce 2010 to 2012.  We're using the Compatibility Pack because we use a separate library to handle asynchronous calls.  As part of this, we use the BaseOperation class extensively.  However, this class has been removed and only the abstract BaseOperation&lt;TArgs, TOp&gt; class remains.  We have an interface that defines a BaseOperation Operation member, which is then implemented by various classes as a BaseOperation, EntityQueryOperation or InvokeServerMethodOperation.  Is there a way to convert BaseOperation to BaseOperation&lt;TArgs, TOp&gt;?]]>
   </description>
   <pubDate>Fri, 06 Dec 2013 10:33:57 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4622&amp;PID=17292#17292</guid>
  </item> 
 </channel>
</rss>