Memento
Intent: Capture and restore an object's internal state without violating encapsulation.
When to use it
- Snapshots
- Version history
Example
Restoring a previous version of a drawing.
Intent: Capture and restore an object's internal state without violating encapsulation.
Restoring a previous version of a drawing.