<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: PTOM: Descriptive State Enumeration</title>
	<atom:link href="http://lostechies.com/derickbailey/2008/11/26/ptom-descriptive-state-enumeration/feed/" rel="self" type="application/rss+xml" />
	<link>http://lostechies.com/derickbailey/2008/11/26/ptom-descriptive-state-enumeration/</link>
	<description>Better Than Yesterday</description>
	<lastBuildDate>Thu, 20 Jun 2013 04:02:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.2</generator>
	<item>
		<title>By: derick.bailey</title>
		<link>http://lostechies.com/derickbailey/2008/11/26/ptom-descriptive-state-enumeration/#comment-72</link>
		<dc:creator>derick.bailey</dc:creator>
		<pubDate>Tue, 02 Dec 2008 16:48:37 +0000</pubDate>
		<guid isPermaLink="false">/blogs/derickbailey/archive/2008/11/26/ptom-descriptive-state-enumeration.aspx#comment-72</guid>
		<description>@Dennis Leng

That was supposed to be a &#039;protected&#039; constructor. Sorry about that. </description>
		<content:encoded><![CDATA[<p>@Dennis Leng</p>
<p>That was supposed to be a &#8216;protected&#8217; constructor. Sorry about that. </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dennis Leng</title>
		<link>http://lostechies.com/derickbailey/2008/11/26/ptom-descriptive-state-enumeration/#comment-71</link>
		<dc:creator>Dennis Leng</dc:creator>
		<pubDate>Mon, 01 Dec 2008 20:19:03 +0000</pubDate>
		<guid isPermaLink="false">/blogs/derickbailey/archive/2008/11/26/ptom-descriptive-state-enumeration.aspx#comment-71</guid>
		<description>Hi Derick, why you created a private constructor for OrderStatus class, which couldnt be instanciated. the code won&#039;t compile as the result of that. cheers</description>
		<content:encoded><![CDATA[<p>Hi Derick, why you created a private constructor for OrderStatus class, which couldnt be instanciated. the code won&#8217;t compile as the result of that. cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: derick.bailey</title>
		<link>http://lostechies.com/derickbailey/2008/11/26/ptom-descriptive-state-enumeration/#comment-70</link>
		<dc:creator>derick.bailey</dc:creator>
		<pubDate>Thu, 27 Nov 2008 13:09:04 +0000</pubDate>
		<guid isPermaLink="false">/blogs/derickbailey/archive/2008/11/26/ptom-descriptive-state-enumeration.aspx#comment-70</guid>
		<description>@Eamon

good catch. I completely forgot about that when writing this up. I use Resharper to generate the equality checks for me, in my state classes. </description>
		<content:encoded><![CDATA[<p>@Eamon</p>
<p>good catch. I completely forgot about that when writing this up. I use Resharper to generate the equality checks for me, in my state classes. </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eamon</title>
		<link>http://lostechies.com/derickbailey/2008/11/26/ptom-descriptive-state-enumeration/#comment-69</link>
		<dc:creator>Eamon</dc:creator>
		<pubDate>Thu, 27 Nov 2008 13:02:59 +0000</pubDate>
		<guid isPermaLink="false">/blogs/derickbailey/archive/2008/11/26/ptom-descriptive-state-enumeration.aspx#comment-69</guid>
		<description>Serialisation can bite you here with the enumeration pattern.  Be sure to override Equals() on the OrderStatus class because deserialisation will not respect your static &#039;Enumeration&#039; classes.

e.g.
order.Status = OrderStatus.Totaled
order2 = Deserialise(Serialise(order));
now order.Status != order2.Status

Eamon</description>
		<content:encoded><![CDATA[<p>Serialisation can bite you here with the enumeration pattern.  Be sure to override Equals() on the OrderStatus class because deserialisation will not respect your static &#8216;Enumeration&#8217; classes.</p>
<p>e.g.<br />
order.Status = OrderStatus.Totaled<br />
order2 = Deserialise(Serialise(order));<br />
now order.Status != order2.Status</p>
<p>Eamon</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: derick.bailey</title>
		<link>http://lostechies.com/derickbailey/2008/11/26/ptom-descriptive-state-enumeration/#comment-68</link>
		<dc:creator>derick.bailey</dc:creator>
		<pubDate>Thu, 27 Nov 2008 00:22:18 +0000</pubDate>
		<guid isPermaLink="false">/blogs/derickbailey/archive/2008/11/26/ptom-descriptive-state-enumeration.aspx#comment-68</guid>
		<description>@Maxim - can do. That will be my next post.</description>
		<content:encoded><![CDATA[<p>@Maxim &#8211; can do. That will be my next post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Maxim Tihobrazov</title>
		<link>http://lostechies.com/derickbailey/2008/11/26/ptom-descriptive-state-enumeration/#comment-67</link>
		<dc:creator>Maxim Tihobrazov</dc:creator>
		<pubDate>Wed, 26 Nov 2008 21:18:27 +0000</pubDate>
		<guid isPermaLink="false">/blogs/derickbailey/archive/2008/11/26/ptom-descriptive-state-enumeration.aspx#comment-67</guid>
		<description>It would be great if you explain how to use this stuff with NHibernate</description>
		<content:encoded><![CDATA[<p>It would be great if you explain how to use this stuff with NHibernate</p>
]]></content:encoded>
	</item>
</channel>
</rss>
