Language to use: C#
I have a situation where I have around 4/5 api calls to make but they are all dependent on the previous API call being successful.
For example:
- CommandA
- CommandB(Uses Result of CommandA)
- CommandC(Uses Result of CommandB)
and so on and so forth - it really as simple as that. I have bneen recommended the builder pattern, Chain of responsibility and command pattern but don't know which one would be the easiest to build upon if i have to add any more commands later on down the line. Thanks.
Aucun commentaire:
Enregistrer un commentaire