<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4153745210462521043</id><updated>2011-07-28T19:44:39.289-07:00</updated><category term='C#'/><category term='.net'/><category term='Patterns'/><category term='binaryformatter'/><title type='text'>Random Rambles</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://liquidvapour.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4153745210462521043/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://liquidvapour.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Ra-el</name><uri>http://www.blogger.com/profile/05313489480820171542</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4153745210462521043.post-1996955342190313235</id><published>2010-08-12T17:18:00.000-07:00</published><updated>2010-08-18T01:26:51.508-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Patterns'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>Enum Replacement Pattern</title><summary type='text'>I'm sure you've come accross the feeling that although they are handy at first enums have limitations when it comes to OOP. 

Here is an implementation that gives you the goodness of enums, having a set of named items that identify things, and adds encapsulation of functionality which I've always felt enums lack. 

Lets start off with a simple implementation that represents a time interval (</summary><link rel='replies' type='application/atom+xml' href='http://liquidvapour.blogspot.com/feeds/1996955342190313235/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://liquidvapour.blogspot.com/2010/08/enum-replacement-pattern.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4153745210462521043/posts/default/1996955342190313235'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4153745210462521043/posts/default/1996955342190313235'/><link rel='alternate' type='text/html' href='http://liquidvapour.blogspot.com/2010/08/enum-replacement-pattern.html' title='Enum Replacement Pattern'/><author><name>Ra-el</name><uri>http://www.blogger.com/profile/05313489480820171542</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4153745210462521043.post-6809680982273614194</id><published>2010-08-11T00:55:00.000-07:00</published><updated>2010-08-11T01:22:07.237-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='binaryformatter'/><title type='text'>Forays in the Binary Serializer</title><summary type='text'>I am currently working on some code that I'm hoping will become a tool that is able to view the output of .Net's BinarySerializer.First a bit of background. I use Windows Workflow Foundation (WF) at my work and serialize its state to the database. As time has gone on and we have had different versions of the workflows and the objects they depend upon we have sometimes had problems deserializing </summary><link rel='replies' type='application/atom+xml' href='http://liquidvapour.blogspot.com/feeds/6809680982273614194/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://liquidvapour.blogspot.com/2010/08/forays-in-binary-serializer.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4153745210462521043/posts/default/6809680982273614194'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4153745210462521043/posts/default/6809680982273614194'/><link rel='alternate' type='text/html' href='http://liquidvapour.blogspot.com/2010/08/forays-in-binary-serializer.html' title='Forays in the Binary Serializer'/><author><name>Ra-el</name><uri>http://www.blogger.com/profile/05313489480820171542</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
