commad design pattern usage
Posted
by sagie
on Stack Overflow
See other posts from Stack Overflow
or by sagie
Published on 2010-05-05T07:10:41Z
Indexed on
2010/05/05
7:18 UTC
Read the original article
Hit count: 180
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?
© Stack Overflow or respective owner