The most basic Chain of Responsibility starts by defining an interface that handles a request (IHandler). Then we add classes that handle one or more scenarios (Handler1 and Handler2): Figure 12.2: Class diagram representing the Chain of Responsibility pattern A difference between the Chain of Responsibility pattern and many other patterns is that no central […]