© Bipin Joshi 2016
Bipin JoshiBeginning SOLID Principles and Design Patterns for ASP.NET Developers10.1007/978-1-4842-1848-8_88. Behavioral Patterns: Mediator, Memento, and Observer
Bipin Joshi1
(1)301 Pitruchhaya, Thane, India
Continuing our journey through behavioral patterns
, this chapter will dissect the mediator, memento, and observer design patterns.
Sometimes you want objects of a system to communicate with each other. This communication can be one way or two way. The meditator and observer deal with how multiple objects send and / or receive messages to achieve communication.
The memento pattern concerns itself with the object’s state. It handles the storing and retrieving of an object’s state. To be specific, you will learn the following: ...