Update README.md
This commit is contained in:
		| @@ -128,6 +128,13 @@ | |||||||
| ##Chain of responsibility | ##Chain of responsibility | ||||||
| **Intent:** Avoid coupling the sender of a request to its receiver by giving more than one object a chance to handle the request. Chain the receiving objects and pass the request along the chain until an object handles it. | **Intent:** Avoid coupling the sender of a request to its receiver by giving more than one object a chance to handle the request. Chain the receiving objects and pass the request along the chain until an object handles it. | ||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
|  | **Applicability:** Use Chain of Responsibility when | ||||||
|  | * more than one object may handle a request, and the handler isn't known a priori. The handler should be ascertained automatically | ||||||
|  | * you want to issue a request to one of several objects without specifying the receiver explicitly | ||||||
|  | * the set of objects that can handle a request should be specified dynamically | ||||||
|  |  | ||||||
| ##Command | ##Command | ||||||
| **Intent:** Encapsulate a request as an object, thereby letting you parameterize clients with different requests, queue or log requests, and support undoable operations. | **Intent:** Encapsulate a request as an object, thereby letting you parameterize clients with different requests, queue or log requests, and support undoable operations. | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user