command design pattern usage
- by sagie
Hi.
I've read 3 descriptions of the command design pattern:
wikipedia, dofactory and source making.
In all of them, the UML shows a relation between the client to the receiver & the concrete command, but no relation to the invoker.
But in all 3 examples the client is the one that initiates the invoker and call its Execute method.
I think that should be a relation to the invoker as well. Am I missing somthing in here? Maybe even a basic UML knowladge?