Theodore David Williams wrote:Rob,
You are correct my design is flawed.
I think what I really wanted after thinking about it is something like this (which works nicely)
What you really want is a class with a private constructor and three static instances of that class, ONE, TWO, or THREE
Then serialize those, and reset them during deserialization. No need to cram Enum into something it was never meant to do or be.