I have seen many implementation examples of "chain of responsibility" design pattern.
I have an parent xml and it will be keep on updated in each sequence's successful execution. I could see the return type as void in all the chains.
Could you please give a sample snippet how to do this? Each chain has to return the value and it has to be updated in a master object(string/document).
Aucun commentaire:
Enregistrer un commentaire