<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/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>Framework Design Guidelines: Factored Types</title><link>http://blogs.msdn.com/b/brada/archive/2009/02/23/framework-design-guidelines-factored-types.aspx</link><description>Continuing in our weekly blog post series that highlights a few of the new additions to the Framework Design Guidelines 2 nd edition .. This content is found in the Factored Types section of Chapter 9: Common Design Patterns. Phil offers some great additions</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Framework Design Guidelines: Factored Types</title><link>http://blogs.msdn.com/b/brada/archive/2009/02/23/framework-design-guidelines-factored-types.aspx#9445025</link><pubDate>Thu, 26 Feb 2009 04:08:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9445025</guid><dc:creator>Bert Huijben</dc:creator><description>&lt;p&gt;The example code ignores that the gzip stream buffers data to allow its compression. &lt;/p&gt;
&lt;p&gt;For the example to work it should flush (or better yet: close) the GZipStream before closing the serial port.&lt;/p&gt;
&lt;p&gt;(A nested using would probably give the cleanest example)&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9445025" width="1" height="1"&gt;</description></item><item><title>re: Framework Design Guidelines: Factored Types</title><link>http://blogs.msdn.com/b/brada/archive/2009/02/23/framework-design-guidelines-factored-types.aspx#9443945</link><pubDate>Wed, 25 Feb 2009 14:39:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9443945</guid><dc:creator>Gavin Greig</dc:creator><description>&lt;p&gt;From reading the book, but trying to put it into my own words so that I'm not stealing thunder, Factored components are the potentially complex types underlying a simpler facade that is referred to as an Aggregate Component.&lt;/p&gt;
&lt;p&gt;The simple facade may expose the underlying types for developers to implement more complex operations that the facade doesn't support.&lt;/p&gt;
&lt;p&gt;(I think) Phil Haack's tip is that all the types involved should implement IDisposable so that it's easy for developers who use the API to manage the objects' lifetimes efficiently, through use of the &amp;quot;using&amp;quot; statement.&lt;/p&gt;
&lt;p&gt;Read the book for a definitive explanation.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9443945" width="1" height="1"&gt;</description></item><item><title>re: Framework Design Guidelines: Factored Types</title><link>http://blogs.msdn.com/b/brada/archive/2009/02/23/framework-design-guidelines-factored-types.aspx#9443560</link><pubDate>Wed, 25 Feb 2009 07:58:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9443560</guid><dc:creator>Kevin Daly</dc:creator><description>&lt;p&gt;First time I've heard the term.&lt;/p&gt;
&lt;p&gt;@Daniel : Software patents are evil (and it's idiotic that they're granted), but patents on APIs are positively demented.&lt;/p&gt;
&lt;p&gt;Just saying, s'all.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9443560" width="1" height="1"&gt;</description></item><item><title>re: Framework Design Guidelines: Factored Types</title><link>http://blogs.msdn.com/b/brada/archive/2009/02/23/framework-design-guidelines-factored-types.aspx#9442928</link><pubDate>Tue, 24 Feb 2009 20:41:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9442928</guid><dc:creator>Daniel</dc:creator><description>&lt;p&gt;I'm not familiar with what a &amp;quot;Factored Type&amp;quot; is either. &amp;nbsp;A google search did land me on this interesting patent, though:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://www.patentstorm.us/patents/7430732/description.html"&gt;http://www.patentstorm.us/patents/7430732/description.html&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;Which makes me wonder if I'm legally allowed to use them?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9442928" width="1" height="1"&gt;</description></item><item><title>re: Framework Design Guidelines: Factored Types</title><link>http://blogs.msdn.com/b/brada/archive/2009/02/23/framework-design-guidelines-factored-types.aspx#9442812</link><pubDate>Tue, 24 Feb 2009 18:50:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9442812</guid><dc:creator>Nicholas Paldino [.NET/C# MVP]</dc:creator><description>&lt;p&gt;It would be helpful if we knew what &amp;quot;the code sample here&amp;quot; was. &amp;nbsp;Having the &amp;quot;after&amp;quot; without the &amp;quot;before&amp;quot; is pretty meaningless.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9442812" width="1" height="1"&gt;</description></item><item><title>re: Framework Design Guidelines: Factored Types</title><link>http://blogs.msdn.com/b/brada/archive/2009/02/23/framework-design-guidelines-factored-types.aspx#9442799</link><pubDate>Tue, 24 Feb 2009 18:31:53 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9442799</guid><dc:creator>Ooh</dc:creator><description>&lt;p&gt;Is there a specific reason why you don't use the using statement with the GZipStream?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9442799" width="1" height="1"&gt;</description></item><item><title>re: Framework Design Guidelines: Factored Types</title><link>http://blogs.msdn.com/b/brada/archive/2009/02/23/framework-design-guidelines-factored-types.aspx#9442436</link><pubDate>Tue, 24 Feb 2009 13:15:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9442436</guid><dc:creator>Wesley</dc:creator><description>&lt;p&gt;And a factored type is ...?&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Wes&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9442436" width="1" height="1"&gt;</description></item><item><title>Framework Design Guidelines: Factored Types</title><link>http://blogs.msdn.com/b/brada/archive/2009/02/23/framework-design-guidelines-factored-types.aspx#9442157</link><pubDate>Tue, 24 Feb 2009 07:27:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9442157</guid><dc:creator>What's New</dc:creator><description>&lt;p&gt;Continuing in our weekly blog post series that highlights a few of the new additions to the Framework&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9442157" width="1" height="1"&gt;</description></item><item><title>Anith &amp;raquo; Framework Design Guidelines: Factored Types</title><link>http://blogs.msdn.com/b/brada/archive/2009/02/23/framework-design-guidelines-factored-types.aspx#9442093</link><pubDate>Tue, 24 Feb 2009 06:15:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9442093</guid><dc:creator>Anith &amp;raquo; Framework Design Guidelines: Factored Types</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://www.anith.com/?p=12905"&gt;http://www.anith.com/?p=12905&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9442093" width="1" height="1"&gt;</description></item></channel></rss>