From Design Pattern by Gang of Four
Why does the reference component
of the decorator Decorator
to the decorated point to the interface Component
of the decorated,
while the reference realSubject
of the proxy Proxy
point to the concrete RealSubject
?
Thanks.
Aucun commentaire:
Enregistrer un commentaire