Implementation of the Mediator_Exercise() function as used in the Mediator Pattern. More...
Go to the source code of this file.
Namespaces | |
namespace | DesignPatternExamples_python |
The DesignPatternExamples_python package, containing 20 examples of design patterns, each in their own namespace. | |
namespace | DesignPatternExamples_python.mediator |
namespace | DesignPatternExamples_python.mediator.mediator_exercise |
Functions | |
str | _ListToString (list[str] items) |
Helper method to convert a list of strings to a comma-delimited list in a single string. | |
None | Mediator_SetupUsers (UserGroupMediator mediator) |
Helper method to add a number of users to the Users list. | |
None | Mediator_SetupGroups (UserGroupMediator mediator) |
Helper method to add a number of groups to the Groups list and then add users to the groups. | |
def | Mediator_Exercise () |
Example of using the Mediator Pattern. | |
Implementation of the Mediator_Exercise() function as used in the Mediator Pattern.
Definition in file mediator_exercise.py.