GOF Mediator Pattern

Patterns
Author

Gary Newport

Published

Wednesday, May 22, 2019

GOF Mediator Class

GOF Mediator Sequence

Mediator Pattern

The Mediator pattern is one of the original GOF (Gang Of Four) patterns, that highlight reoccuring designs that appear in code, and the reasons for there use.

Good For

  • Loose coupling
  • Delegates the interaction between the objects to a separate mediation object.

References

  • https://www.dofactory.com/net/mediator-design-pattern
  • https://en.wikipedia.org/wiki/Mediator_pattern