Mid GoF Patterns

State Complexity:?

  • The Memento must contain only the necessary state of the object. If the state

is complex (e.g., involving many interdependencies), it may be difficult to

capture it in a Memento without violating encapsulation or increasing

complexity.

More from Design Patterns in C#

All questions for this course