Mid GoF Patterns

TextMemento (Memento):?

  • The TextMemento captures the state of the TextEditor object (in this

case, the text content). It doesn't expose any internal details of the

TextEditor, preserving encapsulation.

More from Design Patterns in C#

All questions for this course