lundi 3 janvier 2022

How can I add a decorator pattern to a chain of responsibility?

I created the following UML. It's basically a currency converter. As it is now, it is a Chain of Responsibility. But now I want to add a Decorator pattern. So, for example, add a fixed processing amount. How can I insert a Decorator pattern here? Thanks for the help!

COR

Aucun commentaire:

Enregistrer un commentaire