State-aware programming in C#, part II
Having defined the approach for the stateful framework, let’s tackle the design goals: Serializable state-aware objects Different logic paths per state on state aware methods State specific methods should be inherited Default and state specific methods Type-safe states Ideally we … Continue reading