State pattern in C#

Av Peter Stålbrand | Blogg | 4 augusti 2017

The state design patterns is a behavioral pattern that implements a state machine in an object-oriented way. It allows an object/class to alter its behavior when its internal state changes. Lets say that we have a competition application that allows clients to register score, but only when the competition is open. A non state pattern design […]

The post State pattern in C# appeared first on DevJunkie.

Till inlägget