C# | Chain of Responsibility Design Pattern | Behavioral Design Pattern
The chain of responsibility pattern creates a chain of receiver objects for a request. This pattern decouples sender and receiver of a request based on type of request. This pattern comes under behavioral patterns. In this pattern, normally each receiver contains reference to another receiver. If one object cannot handle the request, then it passes the same to the next receiver and so on. UML Diagram - Who is what? The classes, interfaces and objects in the above class diagram can be identified as follows: 1. Approver - Handler abstract class. 2. Clerk, Assistant Manager & Manager - ConcreteHandler classes. 3. Loan & LoanEventArgs - These classes are used for internal processing and holds request details.