All Talk: Using the Mediator Pattern in .NET Framework
We always look for the pattern when targeting any new problem which comes to us but what about existing ones. It happens many times that our project increases with time and we lost what object is going where, where it is needed and where not. This is where I think Mediator Pattern will be handy. Please check how.
How can one class communicate with each another, yet know nothing about that other class? That's where the mediator pattern comes in, and Eric shows how to employ it in a .NET chat application.
Keep it simple, focus on your module rather than worrying about how it will communicate with others.
http://visualstudiomagazine.com/articles/2014/12/11/mediator-pattern-net-framework.aspx
0 Comment(s)