Mid GoF Patterns

Caretaker:?

  • The Caretaker is responsible for managing the saved states (mementos). It

can undo changes by restoring the TextEditor to its previous state stored

in the mementos stack.

More from Design Patterns in C#

All questions for this course