When to Use Mediator Pattern C#?
The Mediator Design Pattern Is Useful When the Number of Objects Grows So Large That It Becomes Difficult to Maintain the References to the Objects. the...
The mediator design pattern is useful when the number of objects grows so large that it becomes difficult to maintain the references to the objects. The mediator is essentially an object that encapsulates how one or more objects interact with each other.
When would you use a mediator?
- Parties are having difficulties resolving the dispute because of lack of conflict resolution skills or because of resistance to confronting, or being confronted by, the other party. ...
- There are strong psychological or relationship barriers to negotiating a resolution.
What is the use of Mediator Pattern C#?
Mediator is a behavioral design pattern that reduces coupling between components of a program by making them communicate indirectly, through a special mediator object. The Mediator makes it easy to modify, extend and reuse individual components because they're no longer dependent on the dozens of other classes.