<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>Disqus - Latest Comments for Andrey Titov</title><link>http://disqus.com/people/72c28c2b81ae9e9e056ea0a64a386c17/</link><description></description><language>en</language><lastBuildDate>Sat, 29 Mar 2008 07:47:30 -0000</lastBuildDate><item><title>Re: Simple typeswitch in C# 3.0, Part 1: The Problem</title><link>http://ashmind.disqus.com/simple_typeswitch_in_c_30_part_1_the_problem/#comment-2506442</link><description>Thank you for mentioning me!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Andrey Titov</dc:creator><pubDate>Wed, 12 Sep 2007 06:07:40 -0000</pubDate></item><item><title>Re: Simple typeswitch in C# 3.0, Part 2: The Solutions</title><link>http://ashmind.disqus.com/simple_typeswitch_in_c_30_part_2_the_solutions/#comment-2506443</link><description>Would your switch get confused if it cannot infer the return type from the first case?&lt;br&gt;&lt;br&gt;string result = Switch.Type(document)&lt;br&gt;        .Case((XsltDocument d) =&amp;gt; null)&lt;br&gt;        .Case((XmlDocument d) =&amp;gt; “Xml”)&lt;br&gt;        .Otherwise(d =&amp;gt; “Not Xml and not Xslt”)&lt;br&gt;        .Result;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Andrey Titov</dc:creator><pubDate>Fri, 21 Sep 2007 11:38:34 -0000</pubDate></item><item><title>Re: Sins of .NET API Developers</title><link>http://ashmind.disqus.com/sins_of_net_api_developers/#comment-2506448</link><description>I've found another example similar to your #2.&lt;br&gt;Rhino mock can't create partial mock on non pulic types. So I can't test my BC classes using partial mocking because they are all internal for BL and are accessible outside only with public facade.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Andrey Titov</dc:creator><pubDate>Sat, 29 Mar 2008 07:47:30 -0000</pubDate></item></channel></rss>